ra/sprotne_naloge/naloga_03/vaja_03_16bit.s

14 lines
141 B
ArmAsm
Raw Normal View History

2023-11-06 08:00:05 +00:00
.text
.org 0x20
STEV1: .hword 0x0201
STEV2: .space 2
.global _start
_start:
adr r0, STEV1
ldr r1, [r0]
adr r0, STEV2
strh r1, [r0]