-
Notifications
You must be signed in to change notification settings - Fork 28
Opcode F4 (PEA) Export mislabel #130
Copy link
Copy link
Open
Description
PEA is weird... It only accepts an immediate value, but that immediate value is written as $1234 instead of #$1234. This is what ASAR expects, and for the most part, the export gets it:
PEA.W $0030
PEA.W $0003
however, if there happens to be pointer or a label at that location, the exporter treats it like any other address, and replaces it with a label:
PEA.W PTR16_80FFFF
PEA.W CODE_808C21
It should be PEA.W $FFFF and PEA.W $8C21, but because there is a pointer at $80FFFF and a label at $808C21, it incorrectly replaces them with a label.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels