Skip to content

JSR direct addressing mode is not supported on MC6800 #17

@brocci

Description

@brocci

On MC6800, JSR only provides extended addressing, so it always needs two bytes as an operand, even if the address is on the zero page.
The current cr6800.py fails to handle this properly, generating an undocumented instruction (9D known as HCF):

JSR $0010

is assembled as:

9D 10

instead of:

BD 00 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions