<< Previous | Next >>

> PUSH ps Stack Operation Rabbit 4000 Instruction

> Opcode | Instruction | Clocks | Operation
> -- | PUSH ps | 18 (2,2,2,3,3,3,3) | (SP - 1) = ps3 (SP - 2) = ps2 (SP - 3) = ps1 (SP - 4) = ps0 SP = SP - 4
> ED C5 | PUSH PW | 18 (2,2,2,3,3,3,3) | (SP - 1) = PW3; (SP - 2) = PW2 (SP - 3) = PW1; (SP - 4) = PW0 SP = SP - 4
> ED D5 | PUSH PX | 18 (2,2,2,3,3,3,3) | (SP - 1) = PX3; (SP - 2) = PX2 (SP - 3) = PX1; (SP - 4) = PX0 SP = SP - 4
> ED E5 | PUSH PY | 18 (2,2,2,3,3,3,3) | (SP - 1) = PY3; (SP - 2) = PY2 (SP - 3) = PY1; (SP - 4) = PY0 SP = SP - 4
> ED F5 | PUSH PZ | 18 (2,2,2,3,3,3,3) | (SP - 1) = PZ3; (SP - 2) = PZ2 (SP - 3) = PZ1; (SP - 4) = PZ0 SP = SP - 4

> Flags | ALTD | IOI/IOE
> S | Z | L/V | C | F | R | SP | S | D
> - | - | - | - |  |  |  |  |

> #### Description

> Pushes ps (any of the 32-bit registers PW, PX, PY or PZ) on the stack.

<< Previous | Next >>