I'm having trouble making a text activator. I figured I'd start out simple, so here's what I have:
Code:
ldr r0, =0x021D88FE
ldr r5, =0x022AF136
@check if code should run
checkF:
ldrb r6, [r5]
add r5,#1
cmp r6,#0x06
beq checkL
b exit
checkL:
ldrb r6, [r5]
add r5,#1
cmp r6,#0x0C
beq checkA
b exit
checkA:
ldrb r6, [r5]
add r5,#2
cmp r6,#0x01
beq run
b exit
run:
mov r8, #0x0019
strh r8, [r0]
b exit
exit:
bx lr
I want it so when you say "FLA" it'll put a blue rose in slot one of your pockets, but when I did the code without "b exit" after the run section, it just froze, and when I added "b exit" nothing happened