Part Number: CCSTUDIO
I'm using the TMS320x28335 processor and its related toolsest.
I'm trying to save a value from the stack to a "C"-language variable. I'm using inline assembly as follows:
unsigned long RetAddr;
asm("POP @AH");
asm("{POP @AL");
asm("MOVL @_RetAddr,ACC");
The accumulator is not being stored in RetAddr as I would have expected. What am I doing wrong?