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

Stack Addressing: Difference between revisions

From SnesLab
Jump to: navigation, search
((opcode A3/B3))
((opcode 03/13))
Line 56: Line 56:
* [[EOR]] (opcode 43)
* [[EOR]] (opcode 43)
* [[LDA]] (opcode A3)
* [[LDA]] (opcode A3)
* [[ORA]]
* [[ORA]] (opcode 03)
* [[SBC]]
* [[SBC]]
* [[STA]] (opcode 83)
* [[STA]] (opcode 83)
Line 67: Line 67:
* [[EOR]] (opcode 53)
* [[EOR]] (opcode 53)
* [[LDA]] (opcode B3)
* [[LDA]] (opcode B3)
* [[ORA]]
* [[ORA]] (opcode 13)
* [[SBC]]
* [[SBC]]
* [[STA]] (opcode 93)
* [[STA]] (opcode 93)

Revision as of 02:49, 27 June 2024

There are several types of Stack Addressing:

Absolute:

  • PEA (opcode F4)

Direct Page Indirect:

  • PEI (opcode D4)

Interrupt:

  • BRK (opcode 00)
  • COP (opcode 02)

Program Counter Relative Long:

  • PER (opcode 62)

Pull:

  • PLA (opcode 68)
  • PLB (opcode AB)
  • PLD (opcode 2B)
  • PLP (opcode 28)
  • PLX (opcode FA)
  • PLY (opcode 7A)

Push:

  • PHA (opcode 48)
  • PHB (opcode 8B)
  • PHD (opcode 0B)
  • PHK (opcode 4B)
  • PHP (opcode 08)
  • PHX (opcode DA)
  • PHY (opcode 5A)

RTI:

  • RTI (opcode 40)

RTL:

  • RTL (opcode 6B)

RTS:

  • RTS (opcode 60)

Relative:

Relative Indirect Indexed, Y

Reference