-1

Now of course I keep trying to change it but once I get to the end of patching it says its invalid and wont let me change it. So if you have a way to do that let me know.

6
  • 2
    Think about carefully mov is just OR with a zero register – Peter Teoh May 14 at 4:57
  • @PeterTeoh yes but I have never seen (or) be represented as (_or) – Peter Robertson May 14 at 15:31
  • 2
    Ghidra uses _ before an instruction to designate it is in a branch delay slot – mumbel May 16 at 2:57
  • @mumbel thanks brother I am still learning ghidra how would the branch delay slot be edited to give correct output example: or a0,v0,zero to move av0,v0 works great but in _or a0,s0,zero it ads och 04ch 0ch 04ch above it, now there doesnt appear to be a such thing as _move so how would that be rectified? – Peter Robertson May 16 at 21:49
  • @PeterRobertson I would try clearing the branch instruction and the delay slot instruction, modify the delay slot instruction, and then re-disassemble both branch and delay slot instructions – mumbel May 16 at 22:08
1

Ghidra uses _ before an instruction to designate it is in a branch delay slot – mumbel 18 hours ago by @mumbel

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.