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 FA)
(opcode 7A)
Line 25: Line 25:
* [[PLP]] (opcode 28)
* [[PLP]] (opcode 28)
* [[PLX]] (opcode FA)
* [[PLX]] (opcode FA)
* [[PLY]]
* [[PLY]] (opcode 7A)


Push:
Push:

Revision as of 02:35, 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:

RTI:

  • RTI (opcode 40)

RTL:

  • RTL (opcode 6B)

RTS:

  • RTS (opcode 60)

Relative:

Relative Indirect Indexed, Y

Reference