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
(opcode 5E) |
(→References: hid archive URL for E&L) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
* [[LDY]] (opcode BC) | * [[LDY]] (opcode BC) | ||
* [[LSR]] (opcode 5E) | * [[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 === | ||
Line 23: | Line 28: | ||
* [[Absolute 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]] | [[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