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

MnemonicDescription
PEAPushes an absolute address onto the stack.
PEIPushes a direct page indirect address onto the stack.
PERPushes a program counter relative address onto the stack.
PHAPushes the accumulator onto the stack.
PHBPushes the data bank register onto the stack.
PHDPushes the direct page register onto the stack.
PHKPushes the program bank register onto the stack.
PHPPushes the processor status register onto the stack.
PHXPushes index register X onto the stack.
PHYPushes index register Y onto the stack.
PLAPulls into the accumulator.
PLBPulls into the data bank register.
PLDPulls into the direct page register.
PLPPulls into the processor status register.
PLXPulls into index register X.
PLYPulls into index register Y.