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, X Addressing: Difference between revisions
From SnesLab
(added instructions) |
(→References: hid archive URL) |
||
(28 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Direct Page Indexed X, Addressing''' is supported by: | '''Direct Page Indexed X, Addressing''' is supported by: | ||
* [[ADC]] | * [[ADC]] (opcode 75) | ||
* [[AND]] | * [[AND]] (opcode 35) | ||
* [[ASL]] | * [[ASL]] (opcode 16) | ||
* [[BIT]] | * [[BIT]] (opcode 34) | ||
* [[CMP]] | * [[CMP]] (opcode D5) | ||
* [[DEC]] | * [[DEC]] (opcode D6) | ||
* [[EOR]] | * [[EOR]] (opcode 55) | ||
* [[INC]] | * [[INC]] (opcode F6) | ||
* [[LDA]] | * [[LDA]] (opcode B5) | ||
* [[LDY]] | * [[LDY]] (opcode B4) | ||
* [[LSR]] | * [[LSR]] (opcode 56) | ||
* [[ORA]] | * [[ORA]] (opcode 15) | ||
* [[ROL]] | * [[ROL]] (opcode 36) | ||
* [[ROR]] | * [[ROR]] (opcode 76) | ||
* [[SBC]] | * [[SBC]] (opcode F5) | ||
* [[STA]] | * [[STA]] (opcode 95) | ||
* [[STY]] | * [[STY]] (opcode 94) | ||
* [[STZ]] | * [[STZ]] (opcode 74) | ||
=== | The effective addresses generated by it are always in [[bank]] 0.<sup>[3]</sup> | ||
* https://archive.org/details/0893037893ProgrammingThe65816/page/390 | |||
==== Syntax ==== | |||
<pre> | |||
LDA dp, X | |||
</pre> | |||
=== See Also === | |||
* [[Direct Page Indexed, Y Addressing]] | |||
* [[Direct Page Addressing]] | |||
=== References === | |||
# [[Eyes & Lichty]], [https://archive.org/details/0893037893ProgrammingThe65816/page/390 page 390] | |||
# section 3.5.11 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf | |||
# lbid, section 3.3 | |||
[[Category:Addressing Modes]] | [[Category:Addressing Modes]] | ||
[[Category:Complex Admodes]] | |||
[[Category:65c816 additions]] | |||
[[Category:ASM]] |
Latest revision as of 14:37, 8 August 2024
Direct Page Indexed X, Addressing is supported by:
- ADC (opcode 75)
- AND (opcode 35)
- ASL (opcode 16)
- BIT (opcode 34)
- CMP (opcode D5)
- DEC (opcode D6)
- EOR (opcode 55)
- INC (opcode F6)
- LDA (opcode B5)
- LDY (opcode B4)
- LSR (opcode 56)
- ORA (opcode 15)
- ROL (opcode 36)
- ROR (opcode 76)
- SBC (opcode F5)
- STA (opcode 95)
- STY (opcode 94)
- STZ (opcode 74)
The effective addresses generated by it are always in bank 0.[3]
Syntax
LDA dp, X
See Also
References
- Eyes & Lichty, page 390
- section 3.5.11 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf
- lbid, section 3.3