MEGA65 / mega65-rom-public

MEGA65 ROM public issue reporting
4 stars 0 forks source link

MONITOR: Disassembled instructions should be acceptable assembler input #100

Closed johnwayner closed 7 months ago

johnwayner commented 7 months ago

Test Environment (required)

Describe the bug The disassembly output of some instructions are not considered valid input by the assembler. A feature of the monitor is that one can disassemble some code, cursor up and edit that code, and then press enter and have the code be modified in memory (due to the disassembly output actually be in the form of an assemble command: e.g. . 1600 A9 04 LDA #4.

This was recently made even more pronounced by a fix that made more xxxQ mnemonics assemble properly.

Some examples