14 lines
141 B
ArmAsm
14 lines
141 B
ArmAsm
|
.text
|
||
|
.org 0x20
|
||
|
|
||
|
STEV1: .hword 0x0201
|
||
|
STEV2: .space 2
|
||
|
|
||
|
.global _start
|
||
|
_start:
|
||
|
|
||
|
adr r0, STEV1
|
||
|
ldr r1, [r0]
|
||
|
|
||
|
adr r0, STEV2
|
||
|
strh r1, [r0]
|