EasyManuals Logo
Home>ZiLOG>Desktop>Z8

ZiLOG Z8 Technical Manual

ZiLOG Z8
166 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #40 background imageLoading...
Page #40 background image
Instruction
Set
5.5
INSTRUCTION
SUMMARY
Instruction
Addr
Mode
Opcode
Flags Affected
Instruction
Addr
Mode
Opcode
Flags Affected
and Operation
dst
Byte
and Operation
dst
Byte
src
(Hex)
CZSVDH
src
(Hex)
CZSVDH
ACC
dst,src
(Note 'I)
10
* 0 *
LDE
dst,src
r
Irr
82
------
dst - dst +
src
+'C
dst -
src
Irr
92
ADD
dst,src
(Note 1)
00
*
* * *
0 *
LDEI
dst,src
Ir Irr
83
------
dst - dst +
src
dst -
src
Irr Ir
93
r - r +
I;
rr
-
rr
+ 1
AND
dst,src
(Note
1)
50
0--
dst - dst AND
src
NOP
FF
CALL
dst
DA
D6
------
OR
dst,src
(Note
1)
40
- .
* 0
SP
- SP - 2
IRR
D4
dst - dst
OR
src
@SP - PC;
PC
- dst
POP
dst
R
50
------
CCF
EF
*-----
dst - @SP
IR
51
C -
NOTC
SP - SP + I
CLR
dst
R
BO
------
PUSH
src
R
70
dst - 0
IR
BI
SP
- SP
-1;
@SP-
src
IR
71
COM
dst
R
60
-**0--
RCF
CF
o -
dst
- NOT dst
IR
61
C-O
CP
dst,src (Note
1)
AD
RET
AF
------
dst
- src
PC
- @ SP; SP -
SP
+ 2
DA
dst
R
40 * X - -
RL
dst
0.IE::3J
R
90
dst - DA dst
IR
41
IR
91
DEC
dst
R
00
RLCdst[~
I~
10
dst - dst - I
IR
01
11
DECW
dst
RR
80
RR
dst
lE]lc:=:3--l/it
EO
EI
dst
- dst - I
IR
81
DI 8F
IMR
(7)
- 0
RRCdst~I~
CO
------
CI
SBC
dst,src
(Note I)
3D
·
I
.
DJNZ
r,dst
RA
rA
- - - -
-.-
dst - dst -
src
- C
r - r -
I
r=O-F
if r
:1=
0
SCF
DF
I - - -
PC
-
PC
+ dst
C-l
Range: + 127,
-128
SRA
dst
lE]~I~
DO
.
·
* 0
EI
9F
------
Dl
IMR(7)
- I
SRP
src
1m
31
INC
dst
rE
-
* * - -
RP
-
src
dst - dst + 1
r=O-F
SUB
dst,src
(Note I)
20
.
·
* * I
*
R
20
dst - dst -
src
IR
21
SWAP
dst
~
R
FO
X
·
X - -
INCW
dst
RR
AO
-
* * - -
IR
FI
dst - dst +
IR
Al
TCM
dst,src
(Note I)
60
-
·
0 - -
IRET
BF
.
* * *
(NOT dst) AND src
FLAGS
- @SP;
SP
- SP + I
TM
dst,src
(Note I)
70
0 - -
PC
- @ SP; SP - SP + 2;
IMR
(7)
-I
-
·
dst AND
src
JP
cC,dst
DA
cD
------
if
cc
is
true
c=O-F
XOR
dst,src
(Note I)
ED
-
·
0 - -
PC
- dst
IRR
30
dst - dst
XOR
src
JR
cc,dst
RA
cB
------
Note 1
if
cc
is
true,
c=O-F
These instructions
have
an
identical set
of
addressing
PC
-
PC
+ dst
Range: + 127, -128
modes, which
are
encoded
for brevity, The first
opcode
nibble
is
found
in
the instruction set table above, The
LD
dst,src
1M
rC
------
second
nibble
is
expressed
symbolIcally by a
L:
in
this
dst
- src
r R r8 table,
and
its value
is
found
in
the following table
to
the
R
r9
"left
of
the
applicable
addressing
mode pair.
r=O-F
For
example,
to
determine
the
opcode
of
an"ADC
r X
C7
instructIOn using the
addressing
modes r (destinatIon)
and
X
r
D7
Ir (source)
is
13"
r Ir
E3
Ir r
F3
Addr
Mode
R
R
E4
Lower
R
IR
E5
dst
src
Opcode Nibble
R
1M
E6
IR
1M
E7
.l"
IR
R F5
Ir
~
LDC
dst,src
r Irr
C2
------
R R
~
dst - src
Irr
D2
R
IR
~
LDCI
dst,src
Ir Irr
C3
------
R
1M
:I
dst - src Irr
Ir
D3
r - r + I;
rr
-
rr
+ I
IR
1M
:I.
5-6
8085-003

Table of Contents

Other manuals for ZiLOG Z8

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ZiLOG Z8 and is the answer not in the manual?

ZiLOG Z8 Specifications

General IconGeneral
BrandZiLOG
ModelZ8
CategoryDesktop
LanguageEnglish

Related product manuals