Skip to content

MONITOR assembler/disassembler to recognize NEGQ #227

@dansanderson

Description

@dansanderson

Is your feature request related to a problem? Please describe.
The NEGQ instruction (neg neg neg) was meant to be implemented in the v0.96 release. The MONITOR assembler/disassembler does not yet recognize this instruction. You can assemble it as neg neg neg, but the disassembler renders it as neg followed by a Q-variant of the next instructios.

Describe the solution you'd like
Assembler:

A1600 NEGQ
STA $1700
RTS

Disassembler:

D1600
. 1600 *42       NEGQ
. 1603  8D 00 17 STA $1700
. 1606  60       RTS

Additional context
NEGQ is not yet documented: MEGA65/mega65-user-guide#642

It is implemented in Xemu. It does not appear to be functioning correctly as of core aaf4542 from release v0.97.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions