Alright, let's see what's going on.
Your first mapping is correct, but the second mapping is looking for Up+R to press up. It should be
ldr r4, =0x80
ldr r5, =0x200
I found a bug while troubleshooting some other mappings which resulted in the c-pad being moved down-left any time a button was...