<< Previous | Next >>

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

> Opcode | Instruction | Clocks | Operation
> -- | LD pd,(SP+n) | 15 (2,2,2,1,2,2,2,2) | pd0=(SP+n) pd1=(SP+n+1) pd2=(SP+n+2) pd3=(SP+n+3)
> ED 04 n | LD PW,(SP+n) | 15 (2,2,2,1,2,2,2,2) | PW0=(SP+n) PW1=(SP+n+1) PW2=(SP+n+2) PW3=(SP+n+3)
> ED 14 n | LD PX,(SP+n) | 15 (2,2,2,1,2,2,2,2) | PX0=(SP+n) PX1=(SP+n+1) PX2=(SP+n+2) PX3=(SP+n+3)
> ED 24 n | LD PY,(SP+n) | 15 (2,2,2,1,2,2,2,2) | PY0=(SP+n) PY1=(SP+n+1) PY2=(SP+n+2) PY3=(SP+n+3)
> ED 34 n | LD PZ,(SP+n) | 15 (2,2,2,1,2,2,2,2) | PZ0=(SP+n) PZ1=(SP+n+1) PZ2=(SP+n+2) PZ3=(SP+n+3)

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

> #### Description

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

<< Previous | Next >>