I'm emulating some ARM code.
My program changes the next instruction in memory to a NOP. (mov r8,r8).
It displays the correct op codes - but it runs the old instruction.
Instruction
Address: 0x08001064 opcodes: c3 71 : strb r3, [r0, #7]
value of r3 is 0x000000ce
Next instruction - (modified to do nothing once the uc_emu_start is called)
Address: 0x08001066 opcode: c0 46 : mov r8, r8
Value of r3 is 0xe00000a0
r3 isn't touched - so it looks like it's using the old code.
I guess my question is this: should it work??
I'm emulating some ARM code.
My program changes the next instruction in memory to a NOP. (
mov r8,r8).It displays the correct op codes - but it runs the old instruction.
Instruction
Address: 0x08001064 opcodes: c3 71 : strb r3, [r0, #7]value of
r3is0x000000ceNext instruction - (modified to do nothing once the
uc_emu_startis called)Address: 0x08001066 opcode: c0 46 : mov r8, r8Value of
r3is0xe00000a0r3isn't touched - so it looks like it's using the old code.I guess my question is this: should it work??