Gotchas: Difference between revisions
m
→Page Boundaries
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 79:
In other words, ''an indexed zero page addressing mode cannot exit the zero page.''
It should be noted that the above bug does '''not''' apply to indexed absolute addressing.
<lang 6502asm>LDA $2080,X ;loads from the correct address regardless of the value of X.</lang>
This also happens with the indirect JMP operation, which jumps to the 16-bit address stored at the specified address.
|