<< Previous | Next >>

LDD
LDI
    Byte Copy
    Rabbit 2000/3000/4000 Instruction
Opcode
Instruction
Clocks
Operation

ED A8

LDD

10 (2,2,1,2,3)

(DE) = (HL)
BC = BC - 1
DE = DE - 1
HL = HL - 1

ED A0

LDI

10 (2,2,1,2,3)

(DE) = (HL)
BC = BC - 1
DE = DE + 1
HL = HL + 1


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

Description

If either instruction is prefixed by IOI or IOE, the destination will be in the specified I/O space. Add 1 clock for each iteration if the prefix is IOI (internal I/O). If the prefix is IOE, add 2 clocks plus the number of I/O wait states enabled. The V flag is cleared when BC transitions from 1 to 0.


<< Previous | Next >>