<< Previous | Next >>

> LD BCDE,d
> LD BCDE,(SP+HL)
> LD BCDE,(SP+n) Load Rabbit 4000 Instruction

> Opcode | Instruction | Clocks | Operation
> A3 d | LD BCDE,d | 4(2,2) | BCDE = d (sign-extended to 32 bits)
> DD FE | LD BCDE,(SP+HL) | 14(2,2,2,2,2,2,2) | E = (SP + HL) D = (SP + HL + 1) C = (SP + HL + 2) B = (SP + HL + 3)
> DD EE n | LD BCDE,(SP+n) | 15(2,2,2,1,2,2,2,2) | E = (SP + n) D = (SP + n + 1) C = (SP + n + 2) B = (SP + n + 3)

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

> #### Description

> Loads the 32-bit register BCDE with d, the 8-bit constant sign extended to 32 bits, or the data whose address is:

> - the sum of SP and HL, or

> - the sum of SP and the 8-bit unsigned constant n

<< Previous | Next >>