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
(created page) |
(→References: hid archive URL for E&L) |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Direct Page Indirect Long Addressing''' is supported by eight instructions: | |||
=== | * [[ADC]] (opcode 67) | ||
* [[Eyes & Lichty]] | * [[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 ==== | |||
<pre> | |||
LDA [dp] | |||
</pre> | |||
=== See Also === | |||
* [[Direct Page Indirect Addressing]] | |||
* [[Direct Page Addressing]] | |||
=== References === | |||
* [[Eyes & Lichty]], [https://archive.org/details/0893037893ProgrammingThe65816/page/394 page 394] | |||
* section 3.5.15 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf | |||
[[Category:Addressing Modes]] | |||
[[Category:Simple Admodes]] | |||
[[Category:65c816 additions]] | |||
[[Category:ASM]] |
Latest revision as of 14:26, 8 August 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
- section 3.5.15 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf