#42241 - chishm - Sun May 08, 2005 8:46 am
Hi,
I am trying to hack a GBA ROM but I am not sure if I have this part correct.
Is this (in asm):
equivalent to this (in c):
?
I am trying to hack a GBA ROM but I am not sure if I have this part correct.
Is this (in asm):
Code: |
mov r0, r1, lsl #0x04
mov r1, #0xe0 orr r0, r1, r0, lsr #0x1c |
equivalent to this (in c):
Code: |
r0 = 0xe0 || ( (r1 << 0x04) >> 0x1c ); |
?