The program 'hetp' creates a '.c' and '.h' file as output.
The '.h' file contains a data structure matching the het assembler code.
For example, a program starting with a CNT instruction followed by a ECMP instruction would
have the following lines in the .h file:
struct
{
CNT_INSTRUCTION PCT_0;
ECMP_INSTRUCTION AEB_0;
....
}
The types "CNT_INSTRUCTION" and "ECMP_INSTRUCTION" are defined in 'std_het.h'. These types include the bitfield encoding of the HET program, control and data fields for each specific HET opcode.
You should be able to open a watch window in CCS, and point to the HET RAM perhaps case as the type defined in the '.h' file output by hetp.
Then you should be able to click to browse the HET program in the debugger, with all the fields of the opcodes correctly decoded.
This would be a major improvement to looking at just raw HEX in a memory window. However, I haven't been able to make this work.
Looking for a recipe / instructions on how to make use of this data structure created by the assembler.