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 Indexed, Y Addressing: Difference between revisions
From SnesLab
(→See Also: dp addressing) |
(→References: hid archive URL for E&L) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
* [[LDX]] (opcode B6) | * [[LDX]] (opcode B6) | ||
* [[STX]] (opcode 96) | * [[STX]] (opcode 96) | ||
The effective addresses generated by it are always in [[bank]] 0.<sup>[3]</sup> | |||
==== Syntax ==== | |||
<pre> | |||
LDX dp, Y | |||
STX dp, Y | |||
</pre> | |||
=== See Also === | === See Also === | ||
Line 8: | Line 16: | ||
* [[Direct Page Addressing]] | * [[Direct Page Addressing]] | ||
=== | === References === | ||
# [[Eyes & Lichty]], [https://archive.org/details/0893037893ProgrammingThe65816/page/391 page 391] | |||
# section 3.5.12 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf | |||
# lbid, section 3.3 | |||
[[Category:Addressing Modes]] | [[Category:Addressing Modes]] | ||
[[Category:65c816 additions]] | [[Category:65c816 additions]] | ||
[[Category:Complex Admodes]] | |||
[[Category:ASM]] | [[Category:ASM]] |
Latest revision as of 14:38, 8 August 2024
Direct Page Indexed Y, Addressing is supported by two instructions:
The effective addresses generated by it are always in bank 0.[3]
Syntax
LDX dp, Y STX dp, Y
See Also
References
- Eyes & Lichty, page 391
- section 3.5.12 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf
- lbid, section 3.3