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
(→‎See Also: direct page addressing)
(→‎References: hid archive URL for E&L)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Direct Page Indirect Long Addressing''' is supported by eight instructions:
'''Direct Page Indirect Long Addressing''' is supported by eight instructions:


* [[ADC]]
* [[ADC]] (opcode 67)
* [[AND]]
* [[AND]] (opcode 27)
* [[CMP]]
* [[CMP]] (opcode C7)
* [[EOR]]
* [[EOR]] (opcode 47)
* [[LDA]]
* [[LDA]] (opcode A7)
* [[ORA]]
* [[ORA]] (opcode 07)
* [[SBC]]
* [[SBC]] (opcode E7)
* [[STA]]
* [[STA]] (opcode 87)
 
The '''indirect address''' is located in the [[direct page]].
 
==== Syntax ====
<pre>
LDA [dp]
</pre>


=== See Also ===
=== See Also ===
Line 14: Line 21:
* [[Direct Page Addressing]]
* [[Direct Page Addressing]]


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


[[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