<< Previous | Next >>

> LD (SP+n),ps Load Rabbit 4000 Instruction

> Opcode | Instruction | Clocks | Operation
> -- | `LD (SP+n),ps` | 19 (2,2,2,1,3,3,3,3) | (SP+n)=ps0; (SP+n+1)=ps1 (SP+n+2)=ps2; (SP+n+3)=ps3
> ED 05 n | LD (SP+n),PW | 19 (2,2,2,1,3,3,3,3) | (SP+n)=PW0; (SP+n+1)=PW1 (SP+n+2)=PW2; (SP+n+3)=PW3
> ED 15 n | LD (SP+n),PX | 19 (2,2,2,1,3,3,3,3) | (SP+n)=PX0; (SP+n+1)=PX1 (SP+n+2)=PX2; (SP+n+3)=PX3
> ED 25 n | LD (SP+n),PY | 19 (2,2,2,1,3,3,3,3) | (SP+n)=PY0; (SP+n+1)=PY1 (SP+n+2)=PY2; (SP+n+3)=PY3
> ED 35 n | LD (SP+n),PZ | 19 (2,2,2,1,3,3,3,3) | (SP+n)=PZ0; (SP+n+1)=PZ1 (SP+n+2)=PZ2; (SP+n+3)=PZ3

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

> #### Description

> Loads the memory location whose address is the sum of SP and the 8-bit unsigned constant n with ps (any of the 32-bit registers PW, PX, PY or PZ).

<< Previous | Next >>