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 Addressing: Difference between revisions

From SnesLab
Jump to: navigation, search
(→‎References: de-n' page #'s)
(moved syntax to top)
Line 1: Line 1:
==== Syntax ====
<pre>
LDA addr
</pre>
Twenty six instructions support '''absolute addressing'''.
Twenty six instructions support '''absolute addressing'''.


Line 29: Line 34:


On the [[SPC700]], operands which use absolute addressing are prefixed with an exclamation point (!).
On the [[SPC700]], operands which use absolute addressing are prefixed with an exclamation point (!).
==== Syntax ====
<pre>
LDA addr
</pre>


=== See Also ===
=== See Also ===

Revision as of 11:58, 16 July 2024

Syntax

LDA addr

Twenty six instructions support absolute addressing.

  • ADC (opcode 6D)
  • AND (opcode 2D)
  • ASL (opcode 0E)
  • BIT (opcode 2C)
  • CMP (opcode CD)
  • CPX (opcode EC)
  • CPY (opcode CC)
  • DEC (opcode CE)
  • EOR (opcode 4D)
  • INC (opcode EE)
  • LDA (opcode AD)
  • LDX (opcode AE)
  • LDY (opcode AC)
  • LSR (opcode 4E)
  • ORA (opcode 0D)
  • ROL (opcode 2E)
  • ROR (opcode 6E)
  • SBC (opcode ED)
  • STA (opcode 8D)
  • STX (opcode 8E)
  • STY (opcode 8C)
  • STZ (opcode 9C)
  • TRB (opcode 1C)
  • TSB (opcode 0C)
  • JMP (opcode 4C)
  • JSR (opcode 20)

On the SPC700, operands which use absolute addressing are prefixed with an exclamation point (!).

See Also

References