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.

Compiler/CC2640: Add assembly instruction through C code

Part Number: CC2640

Tool/software: TI C/C++ Compiler

Hello,

My target is CC2640 and my IDE is CCSV7.

I would like to read the value of  general purpose register in a handler for my C code, I guess I can do this with assembly. Can anyone could tell the easiest way to store the GP register in my unsigned int variable?

Regards,