Pull
Stack pull operations
Flags Affected
Flags | |
---|
n | Set if most significant bit of the transferred value is set |
---|
z | Set if value transferred is zero |
Instructions
Syntax | Opcode |
Available on: |
# of |
# of |
Addressing Mode |
(hex) |
6502 |
65C02 |
65816 |
bytes |
cycles |
PLA | 68 |
x |
x |
x |
1 |
32 |
Implied |
PLB | AB |
|
|
x |
1 |
4 |
Implied |
PLD | 2B |
|
|
x |
1 |
5 |
Implied |
PLP | 28 |
x |
x |
x |
1 |
4 |
Implied |
PLX | FA |
x |
x |
x |
1 |
43 |
Implied |
PLY | 7A |
x |
x |
x |
1 |
43 |
Implied |
Notes:
- Add 1 cycle if low byte of Direct Page register is other than zero (DL<>0)
- 65816: Add 1 cycle if m=0 (16-bit memory/accumulator)
- 65816: Add 1 cycle if x=0 (16-bit registers)