Tool/software: TI C/C++ Compiler
Hello All
So
Accordingly
TMS320C28x Optimizing C/C++ Compiler
v18.1.0.LTS
User's Guide
Section 6.11 Object File Symbol Naming Conventions (Linknames)
For COFF, the compiler places an underscore at the beginning of the linknames of C identifiers, so you
can safely use identifiers that do not begin with an underscore in your assembly code
Dispite this description F2837xD_cla.h contains struct CLA_REGS
which contains Uint16 _MPC; // CLA Program Counter
Uint16 rsvd4; // Reserved
Uint16 _MAR0; // CLA Auxiliary Register 0
Uint16 _MAR1; // CLA Auxiliary Register 1
Uint16 rsvd5[2]; // Reserved
union _MSTF_REG _MSTF; // CLA Floating-Point Status Register
union MR_REG _MR0; // CLA Floating-Point Result Register 0
Uint16 rsvd6[2]; // Reserved
union MR_REG _MR1; // CLA Floating-Point Result Register 1
Uint16 rsvd7[2]; // Reserved
union MR_REG _MR2; // CLA Floating-Point Result Register 2
Uint16 rsvd8[2]; // Reserved
union MR_REG _MR3;
Whithout lead underscore the compilation with assembler code which uses the same registers is not posible .
The question is - How to let know to compiler developers to check and fix this feature :-)
Best regards
Andrii