B
000
C
001
DO
l
O
E
0
1
1
H
100
L
101
A
111
The
s operand,
along
with
the
Carry
Flag
("C"
in
the
F
register)
is
added
to
t
he
contents
of
the
Accumulator,
and
the
result
is
stored
in
the
Accumulator.
INSTRUCTION
M
CYCLES
T
STATES
4 HHZ
E.T.
ADC
A,r
1
4
1.00
ADC
A,n
2
7(4,3)
1
.
75
ADC
A, (HL)
2
7(4,3)
1
.
75
ADC
A, (IX+d)
5
19(4,4,3,5,3)
4.75
ADC
A,(IY+d)
5
19(4,4,3,5,3)
4.75
Condi tion
Bits
Affected:
Set
if
result
is
negative;
reset
otherwise
Set
if
resul
t
is
zero;
reset
otherwise
Set
if
carry
from
Bit
3;
reset
otherwise
Set
if
overflow
;
reset
otherwise
Re se t
Set
if
carry
from
Bit
7;
reset
otherwise
If
the
Accumulator
contains
16H,
the
Carry
Flag
is
s
e
t,
the
HL
register
pair
contains
6666H,
and
address
6666
H
contains
10H,
after
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: ......