Category:ARM Assembly: Difference between revisions
→Data Addressing using LDR and STR
Puppydrum64 (talk | contribs) m (→Limitations of the ARM: formatting) |
Puppydrum64 (talk | contribs) |
||
Line 46:
MyCode:
adr R2,RAM_Address ;get the address of a nearby place to store values.
MOV R0,#0x12345678
STR R0,[R2] ;store 0x12345678 into the first 32-bit slot.</lang>
|