Re: GBA | ASM | Nivel dinámico de los pokemon rivales
Así:
.thumb
.align 2
no_crash:
pop {r7}
push {r4-r7, r14}
mov r7, r8
push {r7}
add sp, #-0x1C
mov r8, r0
mov r6, r1
flag_check:
push {r0-r2}
ldr r0, flag_number
ldr r2, flag_routine
push {r1-r3}
bl linker
pop {r1-r3}
cmp r0, #0x1
bne...