<< Previous | Next >>

> LD dd,(mn) Load Rabbit 2000/3000/4000 Instruction

> Opcode | Instruction | Clocks | Operation
> ---- | LD dd,(mn) | 13 (2,2,2,2,1,2,2) | ddlow = (mn) ddhigh = (mn + 1)
> ED 4B n m | LD BC,(mn) | 13 (2,2,2,2,1,2,2) | C = (mn) B = (mn + 1)
> ED 5B n m | LD DE,(mn) | 13 (2,2,2,2,1,2,2) | E = (mn) D = (mn + 1)
> ED 6B n m | LD HL,(mn)1 | 13 (2,2,2,2,1,2,2) | L = (mn) H = (mn + 1)
> ED 7B n m | LD SP,(mn) | 13 (2,2,2,2,1,2,2) | SPlow = (mn) SPhigh = (mn + 1)

> 1 A faster 3-byte version of LD HL,(mn) exists; this is the opcode that is generated by the assembler. See LD HL,(mn) for more information.

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

> #### Description

> Loads dd (any of the 16-bit registers BC, DE, HL or SP) with the data whose address is the 16-bit constant mn.

<< Previous | Next >>