ret2jazzy / disasm.pro

A realtime assembler/disassembler (formerly known as disasm.ninja)
https://disasm.pro/
291 stars 31 forks source link

PowerPC assembly seems to be broken #8

Open vaguerant opened 1 year ago

vaguerant commented 1 year ago

Take this with a grain of salt as I know very little about anything (I'm just poking at some Wii cheat codes), but it seems like PPC assembly is broken. Disassembly works fine, but all attempts to assemble any PPC code just result in "Error: Invalid operand".

Example, I'm trying to assemble some branches like this:

0x800015e0: 4BFFF3F1 bl 0x800009d0

I can paste that machine code 4BFFF3F1 into the disassembly field on the right and the left will autofill bl 0x800009d0. Success?

But I can paste the very same bl 0x800009d0 that disasm.pro fed to me back into the (left) assembly field and I get "Error: Invalid operand". Not success.

Help?

cnkizy commented 5 months ago
Base:0x800015e0
bl 0x00009d0   ->   4B FF F3 F1

you shoud input bl 0x00009d0, not a bl 0x800009d0