User Guide
<%27
7UGT
U/CPWCN
80 =&38,QVWUXFWLRQ'HVFULSWLRQ
7DEOH%ORFN7UDQVIHU*URXS
'HVWLQDWLRQ 6RXUFH
Reg. Indir. (DE) Reg. Indir.
(HL)
(ED)
A0
LDI - Load (DE)
(HL)
Inc HL and DE, Dec BC
(ED)
B0
LDIR, - Load (DE)
(HL)
Inc HL and DE, Dec BC, Repeat until BC = 0
(ED)
A8
LDD - Load (DE)
(HL)
Inc HL and DE, Dec BC
(ED)
B8
LDDR - Load (DE)
(HL)
Dec HL and DE, Dec BC, Repeat until BC = 0
Note:
Reg HL points to source
Reg DE points to destination
Reg BC is byte counter
7DEOH%ORFN6HDUFK*URXS
6HDUFK
/RFDWLRQ
Reg. Indir.
(HL)
(ED)
A1
CPI
Inc HL, Dec BC
(ED)
B1
CPRI. Inc HL, Dec BC
Repeat until) BC = 0 or find match
(ED)
A9
WD Dec HL and BC
(ED)
B9
CPDR Dec HL and BC
Repeat until BC = 0 or find match
Note: HL points to location in memory to be compared with accumulator contents
BC Is byte counter