Category:6502 Assembly: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 265: | Line 265: | ||
===Zero Page Indirect, No X or Y=== |
===Zero Page Indirect, No X or Y=== |
||
This one isn't available on the original 6502, only on its revision the 65c02. This behaves just like the two above, except it doesn't involve X or Y. Essentially this saves you the trouble of setting X or Y to zero temporarily just to do an indirect lookup without offsetting. |
This one isn't available on the original 6502, only on its revision, the 65c02. This behaves just like the two above, except it doesn't involve X or Y. Essentially this saves you the trouble of setting X or Y to zero temporarily just to do an indirect lookup without offsetting. |
||
<lang 6502asm> LDA ($00) ;same as "LDA ($00),y" when y = 0</lang> |
<lang 6502asm> LDA ($00) ;same as "LDA ($00),y" when y = 0</lang> |