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
(opcode DE)
(→‎References: hid archive URL for E&L)
 
(16 intermediate revisions by the same user not shown)
Line 7: Line 7:
* [[CMP]] (opcode DD)
* [[CMP]] (opcode DD)
* [[DEC]] (opcode DE)
* [[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 ===
Line 23: Line 28:
* [[Absolute Addressing]]
* [[Absolute Addressing]]


=== Reference ===
=== 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
* 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