![SGS ATES Z80 Instruction Set Download Page 77](http://html1.mh-extra.com/html/sgs/ates-z80/ates-z80_instruction-set_1251267077.webp)
CPDR
I
< < <
a:
< <
a
>
I
ED
I
<
a
>
> >
:a :a
>
I
B9
The
contents
of
the
oemory
location
addressed
b
y
th
e
HL
register
p
a
ir
is
compared
w
i
th
the
contents
o
f
t
he
A
ccuoulator.
In
cas
e
of
a
true
c
om
pare,
a
co
nditi
o
n
bit
is
set.
T
h
e
ilL and
BC
(Byte
C
o
unt
e
r
)
regist
e
r
pairs
are
decremented
.
If
decrementin
g
caus
e
s
the
BC
t
o
go
t
o
zero
or
if
A
;(HL),
the
instruction
is
terminated.
If
BC
is
not
zero
and
AI(HL),
the
program
counter
is
decremented
by
2 and
the
instruction
is
rep
e
ated.
N
ote
that
if
BC
is
set
to
zero
prior
to
instruction
execution,
the
instruction
will
loop
through
64K
b
y
t
e
s
,
if
no
match
is
found.
Also,
"
In
te
r
rupts wi
l
l be recognized
an
d
two refresh cyc
l
es
w
i
ll
be execu
t
e
d
after each data tr
a
nsfer
"
.
Summary of Contents for ATES Z80
Page 1: ......
Page 5: ......
Page 6: ...Juanlurn c cc r 11 SoJt 391262 Jr ml tOl...
Page 32: ......
Page 38: ...If Address 2130ll contains 65ll and address 2131H contains 78ll after the instruction...
Page 56: ......
Page 79: ......
Page 80: ......
Page 86: ...10050 is 220 after the execution of ADD A IX SH the contents of the Accumulator will be 33H...
Page 88: ......
Page 104: ...If the contents of register Dare 280 after the execution of...
Page 112: ......
Page 117: ...Example If the contents of the Accumulator are...
Page 119: ...SCF S z H P V N C Not affected Not affected Rese t Not affected Re se t Set...
Page 127: ......
Page 128: ......
Page 145: ......
Page 146: ......
Page 148: ...Example If the contents of the Accumulator are...
Page 152: ...the contents of the Accumulator and the Carry Flag will be...
Page 185: ......
Page 186: ......
Page 203: ......
Page 204: ......
Page 222: ......
Page 237: ......
Page 238: ......
Page 261: ......
Page 262: ......
Page 267: ......