This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS570LC4357: Compile error for .asm and .inc file

Part Number: TMS570LC4357

Tool/software: Code Composer Studio

Hello,

i am trying to import an project to CCS, i fixed all errors except some kind of below error in .asm and .inc files:

"illegal mnemonic specified"  when i try to include some other files in a .asm,   both "#include" and ".include" the ccs just give me the same error.  but ".sect" works fine in .asm.   the same problem happens on .inc file

just want to know how can i include some file in a .asm ??  and how to implement conditional compilation statement(in picture below) in a .asm ??