Skip to content

comment says zp,y but actual code is using abs,y #7

Description

@OptimistMaximus

In lesson 2, this line of code
https://github.com/SlithyMatt/x16-assembly-tutorial/blob/main/Lesson2/memory.asm#L27

says:

sta ZP_DATA,y ; zero page indexed with Y

but STA does not support this addressing mode. The compiler is implicitly treating this as absolute,y mode.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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