For the fa one its easier just to do this...
Same goes for the other one, well sorta :\Code:ldr r0, text ldr r1, slot ldrh r3, word ldrh r5, done ldrh r4, item ldrh r2, [r0] cmp r2, r3 bxne lr strh r5, [r0] strh r4, [r1] bx lr text: .long 0x22AF136 slot: .long 0x21D88FE word: .ascii "fa" done: .ascii "ok" item: .short 0x14FD