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