disasm.pro icon indicating copy to clipboard operation
disasm.pro copied to clipboard

PowerPC assembly seems to be broken

Open vaguerant opened this issue 1 year ago • 1 comments

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?

vaguerant avatar Oct 18 '23 15:10 vaguerant

Base:0x800015e0
bl 0x00009d0   ->   4B FF F3 F1

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

cnkizy avatar May 28 '24 01:05 cnkizy