Original Post
Hello All
The following is the example of the inline assembly code I got from the web. which get the value of A7 address register and put it in temp. Then temp can be used as a normal C varible
My question is that how can I do the opposit
eg. copy the value in temp and put it in A7
please help
Thanks
asm("move.l %%a7, %0"
: "=d" (temp)
:
);
current_proc->user_stack = temp;