ra/naloga_03/vaja_02.s
2023-12-03 20:29:29 +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]