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
(opcode C7) |
(→References: hid archive URL for E&L) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
* [[AND]] (opcode 27) | * [[AND]] (opcode 27) | ||
* [[CMP]] (opcode C7) | * [[CMP]] (opcode C7) | ||
* [[EOR]] | * [[EOR]] (opcode 47) | ||
* [[LDA]] | * [[LDA]] (opcode A7) | ||
* [[ORA]] | * [[ORA]] (opcode 07) | ||
* [[SBC]] | * [[SBC]] (opcode E7) | ||
* [[STA]] | * [[STA]] (opcode 87) | ||
The '''indirect address''' is located in the [[direct page]]. | |||
==== Syntax ==== | |||
<pre> | |||
LDA [dp] | |||
</pre> | |||
=== See Also === | === See Also === | ||
Line 14: | Line 21: | ||
* [[Direct Page Addressing]] | * [[Direct Page Addressing]] | ||
=== | === References === | ||
* [[Eyes & Lichty]] | * [[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:Addressing Modes]] | ||
[[Category:Simple Admodes]] | |||
[[Category:65c816 additions]] | [[Category:65c816 additions]] | ||
[[Category:ASM]] | [[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