We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

Direct Page Indirect Long Addressing: Difference between revisions

From SnesLab
Jump to: navigation, search
(→‎References: de-n'd page #)
(→‎References: hid archive URL for E&L)
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
* [[SBC]] (opcode E7)
* [[SBC]] (opcode E7)
* [[STA]] (opcode 87)
* [[STA]] (opcode 87)
The '''indirect address''' is located in the [[direct page]].


==== Syntax ====
==== Syntax ====
Line 20: Line 22:


=== References ===
=== References ===
* [[Eyes & Lichty]] page 394, https://archive.org/details/0893037893ProgrammingThe65816/page/394
* [[Eyes & Lichty]], [https://archive.org/details/0893037893ProgrammingThe65816/page/394 page 394]
* section 3.5.15 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf
* section 3.5.15 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf


[[Category:Addressing Modes]]
[[Category:Addressing Modes]]
[[Category:Simple Admodes]]
[[Category:65c816 additions]]
[[Category:65c816 additions]]
[[Category:ASM]]
[[Category:ASM]]

Latest revision as of 14:26, 8 August 2024

Direct Page Indirect Long Addressing is supported by eight instructions:

  • ADC (opcode 67)
  • AND (opcode 27)
  • CMP (opcode C7)
  • EOR (opcode 47)
  • LDA (opcode A7)
  • ORA (opcode 07)
  • SBC (opcode E7)
  • STA (opcode 87)

The indirect address is located in the direct page.

Syntax

LDA [dp]

See Also

References