RPCS3 / rpcs3

PS3 emulator/debugger
https://rpcs3.net/
GNU General Public License v2.0
14.5k stars 1.85k forks source link

[Feature request] Debug tool to convert instruction mnemonic to opcode+operand #15525

Open AniLeo opened 2 weeks ago

AniLeo commented 2 weeks ago

As part of the Debugging and Patch Creation process, it would be useful if RPCS3 had a debugging tool to convert instruction mnemonics to opcode+operand. Currently the RPCS3 debugger has the opposite process of converting the machine code instructions to mnemonic for ease of reading.

On this tool, we should also be able to select the output endianness and size, e.g. be32.

Currently this process requires using Ghidra on the side, but it would be ideal to have this helper directly in RPCS3.

elad335 commented 2 weeks ago

For PPC there are online tools for it and the ISA is massive. SPU does need it though. Edit: on second thought there are some CELL PPU exclusive instructions though so there is need for it.