ZiLOG Z80-CPU Technical Manual page 59

Table of Contents

Advertisement

Flags
Op.(:ode
~
No.
No.
Symbolic
of
ofM
Mnemonic
Operation
C Z V S N H 76 543 210
Bytes
Cycles
CALLnn
(SP-I)+-PC H
• •
. . .. ..
..
II
001 101
3
5
(SP-2)+-PC L
+-
n
....
PC+-nn
+-
n
....
CALLcc, nn
If condition
..
. .
..
II
cc
100
3
3
cc is false
....
n
....
continue,
3
5
otheIWise
....
n
-+
same as
CALLnn
RET
PCL <-(SP)
. . ..
.. . . .. ..
11 001 001
I
3
PC H <-(SP+l)
RETcc
If condition
.. ..
..
.. ..
11 cc 000
1
I
cc is false
continue,
1
3
otheIWise
same as
RET
RETI
Rllturn from
..
. .
.. .. ..
11 WI 101
2
4
interrupt
01 001 101
RETN
Return from
11 101 101
2
4
.. ..
..
.. ..
. .
non maskable
interrupt
01 000 101
RSTp
(SP.I)+-PC H
.. ..
.. . .
..
. .
11
t
III
1
3
(SP.2)+-PC L
PCH+-O
PCL .... P
Flag Notation:
• = flag not affected, 0 = flag reset, 1 = flag set, X = flag is unknown
*
= flag
is
affected according to the result of the operation.
CAL.L. AND RETURN GROUP
TABLE 1.0·10
53
No.
ofT
States
Comments
17
10
If cc is false
17
If cc is true
10
5
If cc is false
11
If cc is true
cc
Condition
000
NZ
non zero
001
Z
zero
010
NC
non carry
14
011
C
carry
100
PO
parity odd
14
101
PE
parity even
110
P
sign positive
III
M
sign negative
11
t
P
.
000
OOH
001
08H
010
lOH
011
18H
100
20H
101
28H
110
30H
111. 38H

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Z80-CPU and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Z80a-cpu

Table of Contents