Skip to content

in 65816 mode, issue a warning when a dp address is used with absolute addressing? #34

Description

@fachat

Recently I got struck by a nasty bug as I was using variables in direct page, but the code accidentally used something like
LDA <ABS>,Y
as there is no dp-y-indexed addressing mode in the 65816. So xa extended this to absolute addressing mode. Which of course fails when dp is not pointing to zero.

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