<< Previous | Next >>

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

Opcode
Instruction
Operation
---- LD dd,(mn) ddlow = (mn)
ddhigh = (mn + 1)
ED 4B n m LD BC,(mn) C = (mn)
B = (mn + 1)
ED 5B n m LD DE,(mn) E = (mn)
D = (mn + 1)
ED 6B n m LD HL,(mn)1 L = (mn)
H = (mn + 1)
ED 7B n m LD SP,(mn) 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.

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 2000/3000/4000
13
n/a
n/a
Rabbit 5000
13
11
9

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.


Rabbit Instructions << Previous | Next >> rabbit.com