shex icon indicating copy to clipboard operation
shex copied to clipboard

Opcodes that Assign Labels Incorrectly

Open Yoshifanatic1 opened this issue 4 years ago • 0 comments

When disassembling SNES code:

  • All long indexed opcodes never get assigned a label even if the target address is in range.
  • BRL rarely is assigned a label, and when it is, it's usually to the wrong address.
  • PER never gets a label even if the target address is in range.

When disassembling SPC700 code:

  • All absolute indexed opcodes never get assigned a label even if the target address is in range.
  • All relative branch opcodes point one byte ahead of where they should, which results in them showing the wrong address and being placed one line further.
  • JMP never gets a label even if the target address is in range.

Yoshifanatic1 avatar Aug 24 '20 17:08 Yoshifanatic1