We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
Absolute Indexed, X Addressing: Difference between revisions
From SnesLab
(added supported instructions) |
(→References: hid archive URL for E&L) |
||
(29 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Absolute Indexed, X Addressing''' is supported by 17 instructions: | |||
=== | * [[ADC]] (opcode 7D) | ||
* [[Eyes & Lichty]] page 380 | * [[AND]] (opcode 3D) | ||
* [[ASL]] (opcode 1E) | |||
* [[BIT]] (opcode 3C) | |||
* [[CMP]] (opcode DD) | |||
* [[DEC]] (opcode DE) | |||
* [[EOR]] (opcode 5D) | |||
* [[INC]] (opcode FE) | |||
* [[LDA]] (opcode BD) | |||
* [[LDY]] (opcode BC) | |||
* [[LSR]] (opcode 5E) | |||
* [[ORA]] (opcode 1D) | |||
* [[ROL]] (opcode 3E) | |||
* [[ROR]] (opcode 7E) | |||
* [[SBC]] (opcode FD) | |||
* [[STA]] (opcode 9D) | |||
* [[STZ]] (opcode 9E) | |||
==== Syntax ==== | |||
<pre> | |||
LDA addr, X | |||
</pre> | |||
=== See Also === | |||
* [[Absolute Indexed, Y Addressing]] | |||
* [[Absolute Addressing]] | |||
=== References === | |||
* [[Eyes & Lichty]], [https://archive.org/details/0893037893ProgrammingThe65816/page/380 page 380] | |||
* section 3.5.3 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf | |||
* Clark, Bruce. http://www.6502.org/tutorials/65c816opcodes.html#5.3 | |||
[[Category:ASM]] | |||
[[Category:Addressing Modes]] | |||
[[Category:Complex Admodes]] | |||
[[Category:Inherited from 6502]] |
Latest revision as of 21:24, 8 August 2024
Absolute Indexed, X Addressing is supported by 17 instructions:
- ADC (opcode 7D)
- AND (opcode 3D)
- ASL (opcode 1E)
- BIT (opcode 3C)
- CMP (opcode DD)
- DEC (opcode DE)
- EOR (opcode 5D)
- INC (opcode FE)
- LDA (opcode BD)
- LDY (opcode BC)
- LSR (opcode 5E)
- ORA (opcode 1D)
- ROL (opcode 3E)
- ROR (opcode 7E)
- SBC (opcode FD)
- STA (opcode 9D)
- STZ (opcode 9E)
Syntax
LDA addr, X
See Also
References
- Eyes & Lichty, page 380
- section 3.5.3 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf
- Clark, Bruce. http://www.6502.org/tutorials/65c816opcodes.html#5.3