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
(opcode DA) |
(opcode 5A) |
||
Line 35: | Line 35: | ||
* [[PHP]] (opcode 08) | * [[PHP]] (opcode 08) | ||
* [[PHX]] (opcode DA) | * [[PHX]] (opcode DA) | ||
* [[PHY]] | * [[PHY]] (opcode 5A) | ||
RTI: | RTI: |
Revision as of 02:39, 27 June 2024
There are several types of Stack Addressing:
Absolute:
- PEA (opcode F4)
Direct Page Indirect:
- PEI (opcode D4)
Interrupt:
Program Counter Relative Long:
- PER (opcode 62)
Pull:
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