-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
    Commented May 14, 2021 at 4:57
  • @PeterTeoh yes but I have never seen (or) be represented as (_or) Commented May 14, 2021 at 15:31
  • 2
    Ghidra uses _ before an instruction to designate it is in a branch delay slot
    – mumbel
    Commented May 16, 2021 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? Commented May 16, 2021 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
    Commented May 16, 2021 at 22:08

1 Answer 1

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 and acknowledge you have read our privacy policy.

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