Part Number: TMS320F28377D
Tool/software: TI C/C++ Compiler
I have previously written assembly code for the C2000 utilizing the .cdecls statement to share structure definitions from header files. In my current project we want to write small sections of code in assembly using the __asm(" INST") statement so we can make the code as efficient as possible. The code/functions are too complicated to write the entire functions in assembly code. Is there a way to have the .cdecls statements generated when compiling a C file for specific header files so that the generated assembly code has the .cdecls statements? It would be very helpful to use structure elements in __asm() statments { i.e. __asm(" MOVL ACC, struct.var1")} but I have not found a way to do this.
Thank you,
Rolf Olsen