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..

More questions in this forum