We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
Direct Page Indirect Long Addressing: Difference between revisions
From SnesLab
(simple admodes category) |
(indirect address) |
||
Line 9: | Line 9: | ||
* [[SBC]] (opcode E7) | * [[SBC]] (opcode E7) | ||
* [[STA]] (opcode 87) | * [[STA]] (opcode 87) | ||
The '''indirect address''' is located in the [[direct page]]. | |||
==== Syntax ==== | ==== Syntax ==== |
Revision as of 05:30, 24 July 2024
Direct Page Indirect Long Addressing is supported by eight instructions:
- ADC (opcode 67)
- AND (opcode 27)
- CMP (opcode C7)
- EOR (opcode 47)
- LDA (opcode A7)
- ORA (opcode 07)
- SBC (opcode E7)
- STA (opcode 87)
The indirect address is located in the direct page.
Syntax
LDA [dp]
See Also
References
- Eyes & Lichty page 394, https://archive.org/details/0893037893ProgrammingThe65816/page/394
- section 3.5.15 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf