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

variable issue in assembler

Hi to all
Does anybody know how to assign a register value to a variable?
I have declared my global variable in this way: AREA VAR, DATA, READWRITE GBLA my_var
Later, in code area, I want to store value contained in R2 register in the variable my_var.
Does anybody know the right method?

Thanks to all

Fabrizio

0