ZiLOG Z80-CPU Technical Manual page 58

Table of Contents

Advertisement

Flags
Op-Code
~
No.
Symbolic
of
Mnemonic
Operation
C Z
VS
N H 76 543 210
Bytes
JP nn
PC"'nn
• •
• •
11 000 011
3
...
n
....
...
n
....
-
JP cc, nn
If condition cc
• •
11 cc 010
3
is true PC <-nn,
+-
n
....
otherwise
continue
...
n
....
JRe
PC ... PC+e
. .
..
..
00 011 000
2
...
e-2
....
JRC,e
IfC
=
0,
• • • •
• •
00 111 000
2
continue
...
e-2
....
IfC
=
I,
2
PC ... PC+e
JR NC, e
IfC
=
I,
• • • •
• •
00 110000
2
continue
...
e-2
....
If C = 0,
2
PC ... PC+e
JRZ,e
If Z
=
0
. .
..
..
00 101 000
2
continue
...
e-2
....
IfZ
=
I,
2
PC ... PC+e
JR NZ,e
If Z
=
I,
..
-.
..
00 100 000
2
continue
-
e-2
....
IfZ
=
0,
2
pe-PC+e
JP(HL)
PC-HL
• • •
II 101 001
I
JP (IX)
PC-IX
• •
II 011 101
2
11 101 001
JP (IV)
PC-IV
. .
..
• • •
II 111 101
2
11 101 001
DJNZ,e
B -B·I
• • • • •
00 010 000
2
IfD
=
0,
-
e-2
....
continue
IfD '" 0,
2
PC ... PC+e
Notes:
e represents the extension in the relative addressing mode.
e is a signed two's complement number in the range <-126, 129>
e-2 in the op-code provides an effective address of pc +e as PC is
incremented by 2 prior to the addition of
~
No.
ofM
Cycles
3
3
3
2
3
2
3
2
3
2
3
I
2
2
2
3
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.
JUMP GROUP
TABLE 7.0-9
52
No.
ofT
States
Comments
10
cc
Condition
10
000
NZnon uro
001
Z zero
010
NCnon carry
011
C carry
100
PO parity odd
101
PE parity even
110
P sign positive
12
111
M sign negative
7
If condition not met
12
If condition
is
met
7
If condition not met
12
If condition is met
.
7
If condition not met
12
If condition is mel
7
If condition not mt'
12
If condition met
4
8
8
8
IfD
=
0
13
IF D '" 0

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Z80a-cpu

Table of Contents