ra/sprotne_naloge/naloga_04/vaja_01.s
2023-11-06 09:00:05 +01:00

15 lines
179 B
ArmAsm

.text
.org 0x20
stev1: .word 0x00000001
stev2: .word 0x00000002
.global _start
_start:
adr r0, stev1
ldrh r1, [r0]
ldrh r2, [r0, #4]
str r2, [r0]
str r1, [r0, #4]