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
Jump to: navigation, search
(→‎Reference: added ref to datasheet)
(→‎References: hid archive URL for E&L)
 
(4 intermediate revisions by the same user not shown)
Line 18: Line 18:
* [[STA]] (opcode 9D)
* [[STA]] (opcode 9D)
* [[STZ]] (opcode 9E)
* [[STZ]] (opcode 9E)
==== Syntax ====
<pre>
LDA addr, X
</pre>


=== See Also ===
=== See Also ===
Line 24: Line 29:


=== References ===
=== References ===
* [[Eyes & Lichty]] page 380, https://archive.org/details/0893037893ProgrammingThe65816/page/n406
* [[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
* 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