ra/sprotne_naloge/naloga_03/vaja_02.s
Gašper Dobrovoljc 2e8dab904d
Vaja 03 popravki
2023-11-08 15:18:50 +01:00

22 lines
240 B
ArmAsm

.text
.org 0x20
@spremenljivke
stev1: .word 0x12345678
stev2: .byte 128
.align
stev3: .hword 0xF123
.align
.global _start
_start:
@program
adr r0, stev1
ldr r1, [r0]
adr r0, stev2
ldr r1, [r0]
adr r0, stev3
ldr r1, [r0]