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 43/53)) |
((opcode A3/B3)) |
||
Line 55: | Line 55: | ||
* [[CMP]] (opcode C3) | * [[CMP]] (opcode C3) | ||
* [[EOR]] (opcode 43) | * [[EOR]] (opcode 43) | ||
* [[LDA]] | * [[LDA]] (opcode A3) | ||
* [[ORA]] | * [[ORA]] | ||
* [[SBC]] | * [[SBC]] | ||
Line 66: | Line 66: | ||
* [[CMP]] (opcode D3) | * [[CMP]] (opcode D3) | ||
* [[EOR]] (opcode 53) | * [[EOR]] (opcode 53) | ||
* [[LDA]] | * [[LDA]] (opcode B3) | ||
* [[ORA]] | * [[ORA]] | ||
* [[SBC]] | * [[SBC]] |
Revision as of 02:48, 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:
- ADC (opcode 63)
- AND (opcode 23)
- CMP (opcode C3)
- EOR (opcode 43)
- LDA (opcode A3)
- ORA
- SBC
- STA (opcode 83)
Relative Indirect Indexed, Y
- ADC (opcode 73)
- AND (opcode 33)
- CMP (opcode D3)
- EOR (opcode 53)
- LDA (opcode B3)
- ORA
- SBC
- STA (opcode 93)