Skip to content

absolute vs zero page bug #9

@TobyLobster

Description

@TobyLobster

The assembler chooses 'zero page,X' when it should choose 'absolute,X'. e.g. the "ORA absolute,X" instruction is assembled as "ORA zp,X" even though it isn't, when using a label thats defined later.

i.e. I think this will not produce the correct bytes:

"""
ORG $200
ORA label,X

label:
DB $ff
"""

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