This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Read and set assembler registers c

Hello there,am using keil
I need to be able to access assembly registers from my C code.

Is there a easy way to set the value of a register to the value of a variable and get the value of a register as a variable?? Hope this makes sense..