Re
g
ister
r
B
000
C
001
D
010
E
all
H
100
L
1
01
A
111
The
s
o
p
e
r
a
nd
is
subtract
e
d
fr
o
m
the
contents
of
th
e
Accu
m
ula
to
r
,
a
nd
the
result
is
stor
e
d
in
the
A
ccu
mu
la
to
r.
I
N
S
T
R
UC
TI
ON
M
C
Y
CLES
T
ST
A
T
E
S
4
M
H
Z
E.T.
SUB
r
1
4
1
.
0
0
SUB
n
2
7(4,
3
)
1
.
75
SUB
(
ilL)
2
7(4,
3
)
1
.
75
SUB
(I
X
+d)
5
19(4
,
4,3,5,3)
4
.
75
SUB
(
IY+
d)
5
19(4
,
4,3,5,3)
4.75
C
o
nd
i
ti
on
Bits
Affe
c
ted
:
Set
if
result
i
s
negative;
reset
otherwise
Set
if
result
i
s
zero;
r
e
set
otherwise
Set
if th
e
r
e
is a
b
o
rr
ow
and
reset
otherw
i
se.
Set
if
o
verflow;
r
e
set
otherwis
e
Se
t
Se
t
if t
he
r
e
is a
b
o
r
row
a
n
d
re
s
e
t
o
t
h
e
r
w
i
se
.
If
the
A
c
cumulator
contains
29H
a
nd
register
D
cont
ains
llH,
aft
e
r
the
execution
of
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: ......