<< Previous | Next >>

LDD
LDI
    Byte Copy
    Rabbit 2000/3000/4000/5000 Instruction

Opcode
Instruction
Operation
ED A8 LDD (DE) = (HL)
BC = BC - 1
DE = DE - 1
HL = HL - 1
ED A0 LDI (DE) = (HL)
BC = BC - 1
DE = DE + 1
HL = HL + 1

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 2000/3000/4000
10
n/a
n/a
Rabbit 5000
10
10
8

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.


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