Mne
moni
c
JP
nn
JP
cc,
nn
JR
e
J
I{
C,
e
JR
NC,e
JR
Z,e
JR
NZ,e
JP
(HL)
JP
(IX)
JP
(IY)
DJNZ
,e
Symbo
lic
Ope
r
at
i
on
If
co
ndition
cc
is true
PC
-
nn
, otherwise
continue
rc
~
P
C+e
Flags
OP-Code
C Z P/V S N H
76
543 210
• • • • • •
11
000
011
• • • • • •
11
cc
010
• • • • • •
00
011 000
- e-2 -
If
C= O continue • • • • • •
00
Ill
000
If
C= l
rc
~
P
C+e
If
C= I continue
If
C= O
PC
~
P
C
+
e
- e-2 -
• • • • • •
00
110
000
- e-2 -
If
Z = O cont
inu
e • • • • • •
00
101
000
If
Z = l
PC
~
PC +e
+--
e-2 -
If
Z = l
co
ntinue • • • • • •
00
100
000
If
Z = O
PC
~
PC +e
PC
~
HL
PC
~
IX
PC
~
IY
B
~
B
-
1
If
B= O
con
t
in
ue
- e-2 -
• • • • • •
11
101
001
• • • • • •
11
011
101
11
101
001
e • • e e e
II
Ill
101
11
101
001
• • • • • •
00
010 000
~
e-2
~
No.
No
.
!\o.
of of
l\1
ofT
Bytes Cycles
States
3
3
2
2
2
2
2
2
2
2
2
1
2
2
2
2
3
3
3
2
3
2
3
2
3
2
3
1
2
2
2
3
10
10
12
7
12
7
12
7
12
7
12
4
8
8
8
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 additi
on
of
e.
cc
000
00
1
010
Co
mments
Co
ndition
NZ
non
zero
Z
zero
NCnon
carry
011
C carry
100
PO
parity
od
d
101
PE
parity
eve
n
110
I'
s
ign
positive
Ill
M
sign
n
ega
ti
ve
If
condition not met
If
conditi
on
is met
If
condition not m
et
If
conditio
n
is
met
If
condition not met
If
condition is met
If
condi ti
on
not m
et
If
condition is met
If
B= O
Flag Notation: • = flag
not
affected, 0 = flag reset, 1 = flag set,
X=
flag
is
unknown,
t = flag
is
affected according to
the
result
of
the
operation.
JUMP
GROUP
TABLE
4.3
-9
99