ra/naloga_10/vaja_01.s
Gašper Dobrovoljc 4b6ea9f800
naloga_10
2024-01-07 18:06:17 +01:00

29 lines
251 B
ArmAsm

.text
.org 0x20
max1: .word 48000
max2: .word 24000000
.global _start
_start:
mov r1, #0
adr r0, max1
ldr r2, [r0]
adr r0, max2
ldr r3, [r0]
loop1:
loop2:
add r1, #1
cmp r1, r2
blt loop2
cmp r1, r3
blt loop1
_end:
b _end