RosettaCodeData/Task/Pointers-and-references/ARM-Assembly/pointers-and-references.arm

5 lines
202 B
Plaintext

;this example uses VASM syntax, your assembler may not use the # before constants or the semicolon for comments
MOV R1,#0x04000000
MOV R0,#0x403
STR R0,[R1] ;store 0x403 into memory address 0x04000000.