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.
Why the tms470 compiler v4.6.1 in my CCS4.1.2 cannot support the assembly pseudo-operation??
"../uCOS-II/Ports/os_cpu_a.asm", ERROR! at line 30: [E0002] Illegal mnemonic
specified
EXTERN OSRunning
"../uCOS-II/Ports/os_cpu_a.asm", ERROR! at line 31: [E0002] Illegal mnemonic
specified
EXTERN OSPrioCur
"../uCOS-II/Ports/os_cpu_a.asm", ERROR! at line 32: [E0002] Illegal mnemonic
specified
EXTERN OSPrioHighRdy
"../uCOS-II/Ports/os_cpu_a.asm", ERROR! at line 33: [E0002] Illegal mnemonic
specified
EXTERN OSTCBCur
"../uCOS-II/Ports/os_cpu_a.asm", ERROR! at line 34: [E0002] Illegal mnemonic
specified
EXTERN OSTCBHighRdy
"../uCOS-II/Ports/os_cpu_a.asm", ERROR! at line 35: [E0002] Illegal mnemonic
specified
EXTERN OSIntNesting
"../uCOS-II/Ports/os_cpu_a.asm", ERROR! at line 36: [E0002] Illegal mnemonic
specified
EXTERN OSIntExit
"../uCOS-II/Ports/os_cpu_a.asm", ERROR! at line 37: [E0002] Illegal mnemonic
specified
EXTERN OSTaskSwHook
EXTERN is not a supported directive in the TI assembler. I know IAR and probably some other toolsets support that directive. The equivalent for the TI assembler is likely .ref. The TMS470 Assembly Language Tools Users Guide describes the directives supported by the TI tools.
Thank you very much for your reply. The os_cpu_a.asm is a file I download from the micrium for the project of µC/OS-II ,and I can compile successfully in the IAR IDE.You mean that if I want to use this file in CCS 4.1.2 I should change the " EXTERN .etc "directive to the equivalent directive according to the TMS470 Assembly Language Tools Users Guide?
gangling xu said:if I want to use this file in CCS 4.1.2 I should change the " EXTERN .etc "directive to the equivalent directive according to the TMS470 Assembly Language Tools Users Guide?
Yes. In this case, EXTERN maps to the .global directive.
Thanks and regards,
-George