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.

How to use C variables in __asm statements?

Is there a way?

The TI compiler doesn't accept extended asm, from what I have read & experimented with.

 

I'm trying to pass a pointer's address via R0 before I call my SVC function, so that I can recover the pointer in the SVC handler. Any ideas how to do this?