Stack Instructions
A group of instructions that move values between registers and the stack.
This instruction set includes the PEA, PEI, PER, PHA, PHB, PHD, PHK, PHP, PHX, PHY, PLA, PLB, PLD, PLP, PLX and PLY instructions.
Instruction set
| Mnemonic | Description |
|---|---|
| PEA | Pushes an absolute address onto the stack. |
| PEI | Pushes a direct page indirect address onto the stack. |
| PER | Pushes a program counter relative address onto the stack. |
| PHA | Pushes the accumulator onto the stack. |
| PHB | Pushes the data bank register onto the stack. |
| PHD | Pushes the direct page register onto the stack. |
| PHK | Pushes the program bank register onto the stack. |
| PHP | Pushes the processor status register onto the stack. |
| PHX | Pushes index register X onto the stack. |
| PHY | Pushes index register Y onto the stack. |
| PLA | Pulls into the accumulator. |
| PLB | Pulls into the data bank register. |
| PLD | Pulls into the direct page register. |
| PLP | Pulls into the processor status register. |
| PLX | Pulls into index register X. |
| PLY | Pulls into index register Y. |