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
(17 instructions) |
(→References: hid archive URL for E&L) |
||
(24 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Absolute Indexed, X Addressing''' is supported by 17 instructions: | '''Absolute Indexed, X Addressing''' is supported by 17 instructions: | ||
* [[ADC]] | * [[ADC]] (opcode 7D) | ||
* [[AND]] | * [[AND]] (opcode 3D) | ||
* [[ASL]] | * [[ASL]] (opcode 1E) | ||
* [[BIT]] | * [[BIT]] (opcode 3C) | ||
* [[CMP]] | * [[CMP]] (opcode DD) | ||
* [[DEC]] | * [[DEC]] (opcode DE) | ||
* [[EOR]] | * [[EOR]] (opcode 5D) | ||
* [[INC]] | * [[INC]] (opcode FE) | ||
* [[LDA]] | * [[LDA]] (opcode BD) | ||
* [[LDY]] | * [[LDY]] (opcode BC) | ||
* [[LSR]] | * [[LSR]] (opcode 5E) | ||
* [[ORA]] | * [[ORA]] (opcode 1D) | ||
* [[ROL]] | * [[ROL]] (opcode 3E) | ||
* [[ROR]] | * [[ROR]] (opcode 7E) | ||
* [[SBC]] | * [[SBC]] (opcode FD) | ||
* [[STA]] | * [[STA]] (opcode 9D) | ||
* [[STZ]] | * [[STZ]] (opcode 9E) | ||
==== Syntax ==== | |||
<pre> | |||
LDA addr, X | |||
</pre> | |||
=== See Also === | === See Also === | ||
* [[Absolute Indexed, Y Addressing]] | * [[Absolute Indexed, Y Addressing]] | ||
* [[Absolute Addressing]] | |||
=== | === References === | ||
* [[Eyes & Lichty]] | * [[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:ASM]] | ||
[[Category:Addressing Modes]] | [[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