How do I declare a variable in inline ARM Assembly?

How do I declare a variable in ARM inline Assembly?

And how do I move the value from register to variable and vice versa?

Looking for something like this,

__asm(

    variable: Word #22222222

    mov r0, variable

    mov variable, r0

)

Parents
No Data
Reply Children
No Data