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.
I am using CCS V5 beta CL470 compiler with --gcc option, and wondering how I can use kind of following as inline assembly statements:
" CPSR_I_SHFT EQU 7"
" CPSR_I_MSK EQU 1:SHL:XS_CPSR_I_SHFT"
"IMPORT InterruptHandlerIrq"
The compiler errors out for each line above.
Can somebody help?
Thanks in advance.
Philip
Those appear to be assembly statements that are legal to the gcc ARM assembler. They are not legal to the TI ARM assembler. And so you cannot use such statements with the TI ARM compiler. You can probably do something very similar with the intrinsics described in the section titled CPSR Register and Interrupt Intrinsics of the ARM compiler book.
Thanks and regards,
-George