<BR> Mnemonic | Symbolic Operation |
S |
Z | F5 | H | F3 | P/V | N | C | Opcode 76-543-210 |
Hex |
Bytes |
M's |
T's |
Comments |
LDI | (DE) := (HL) DE := DE + 1 HL := HL + 1 BC := BC - 1 |
. | . | ~1 | 0 | ~2 | ~3 | 0 | . | 11-101-101 10-100-000 |
ED A0 |
2 | 4 | 16 | |
LDIR | (DE) := (HL) DE := DE + 1 HL := HL + 1 BC := BC - 1 repeat until: BC=0 |
. | . | ~1 | 0 | ~2 | 0 | 0 | . | 11-101-101 10-110-000 |
ED B0 |
2 2 |
5 4 |
21 16 |
if BC != 0 if BC=0 |
LDD | (DE) := (HL) DE := DE - 1 HL := HL - 1 BC := BC - 1 |
. | . | ~1 | 0 | ~2 | ~3 | 0 | . | 11-101-101 10-101-000 |
ED A8 |
2 | 4 | 16 | |
LDDR | (DE) := (HL) DE := DE - 1 HL := HL - 1 BC := BC - 1 repeat until: BC=0 |
. | . | ~1 | 0 | ~2 | 0 | 0 | . | 11-101-101 10-111-000 |
ED B8 |
2 2 |
5 4 |
21 16 |
if BC != 0 if BC=0 |
CPI | A - (HL) HL := HL + 1 BC := BC -1 |
~4 | ~4 | ~5 | ~4 | ~6 | ~3 | 1 | . | 11-101-101 10-100-001 |
ED A1 |
2 | 4 | 16 | |
CPIR | A - (HL) HL := HL + 1 BC := BC -1 Repeat until: A=(HL) or BC=0 |
~4 | ~4 | ~5 | ~4 | ~6 | ~3 | 1 | . | 11-101-101 10-110-001 |
ED B1 |
2 2 |
5 4 |
21 16 |
if BC != 0 and A != (HL). if BC=0 or A=(HL) |
CPD | A - (HL) HL := HL - 1 BC := BC -1 |
~4 | ~4 | ~5 | ~4 | ~6 | ~3 | 1 | . | 11-101-101 10-101-001 |
ED A9 |
2 | 4 | 16 | |
CPDR | A - (HL) HL := HL - 1 BC := BC -1 Repeat until: A=(HL) or BC=0 |
~4 | ~4 | ~5 | ~4 | ~6 | ~3 | 1 | . | 11-101-101 10-111-001 |
ED B9 |
2 2 |
5 4 |
21 16 |
if BC != 0 and A != (HL). if BC=0 or A=(HL) |