Tool/software: Code Composer Studio
Hi , I am developing small OS with tm4c123(ARM cortex M4 processor) . So for context save and restore i need to write small code in assembly language . I tried to create source file with .asm extension in code composer studio. But I have to access few globle variables declared in main c main as shown below .
I have no clear idea how to do it in CCS and one one doubt is how to call function defined in .asm source file .
LDR R0 , =Runptr // Runptr is declared in other source file which is .c file
CCS is showing
Multiple markers at this line
- [E0003] Unexpected trailing operand(s)
- [E0001] Illegal symbol
- [E0200] Bad term in expression
Thank you
Indrajit.