#109503 - WangJang - Sat Nov 18, 2006 9:16 pm
*EDIT*
Very sorry, i looked again and i totally missed the "adr" instruction :(
Delete this is need be :)
Sorry to bother, but i have a very noob question.
I searched and could not find what i was looking for, this is what i am trying to do.
i have a set address like:
_ButtonStore: .long 0x04000130
So i can load that by doing.
ldr r0, _ButtonStore
now r0 will contain 0x04000130
But how can i make r0 contain only the location of "_ButtonStore" its self
the address that its reading 0x04000130 from ?
Thanks.
Very sorry, i looked again and i totally missed the "adr" instruction :(
Delete this is need be :)
Sorry to bother, but i have a very noob question.
I searched and could not find what i was looking for, this is what i am trying to do.
i have a set address like:
_ButtonStore: .long 0x04000130
So i can load that by doing.
ldr r0, _ButtonStore
now r0 will contain 0x04000130
But how can i make r0 contain only the location of "_ButtonStore" its self
the address that its reading 0x04000130 from ?
Thanks.