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

How can i read R0 register?

I need information about task stack (R0).
How can i read R0 register?
Is it correct?

unsigned int Addr_0;
//************************************
void taskSupervisor (void) _task_ TSK_CONTROLLER _priority_ 2
{
#pragma asm
MOV WORD Addr_0,R0
#pragma endasm
RTXDebug[TSK_CONTROLLER] = (Addr_0);
.....



I

0