Opcode Map - ZiLOG Z08617 Manual

Nmos z8 8-bit mcu keyboard controller
Table of Contents

Advertisement

OPCODE MAP

0
1
6.5
6.5
0
DEC
DEC
ADD
R1
IR1
r1, r2
6.5
6.5
1
RLC
RLC
ADC
R1
IR1
r1, r2
6.5
6.5
2
INC
INC
SUB
R1
IR1
r1, r2
8.0
6.1
3
JP
SRP
SBC
IRR1
IM
r1, r2
8.5
8.5
4
DA
DA
R1
IR1
r1, r2
10.5
10.5
5
POP
POP
AND
R1
IR1
r1, r2
6.5
6.5
6
COM
COM
TCM
R1
IR1
r1, r2
10/12.1
12/14.1
7
PUSH
PUSH
R2
IR2
r1, r2
10.5
10.5
8
DECW
DECW
RR1
IR1
6.5
6.5
9
RL
RL
R1
IR1
10.5
10.5
A
INCW
INCW
RR1
IR1
r1, r2
6.5
6.5
B
CLR
CLR
XOR
R1
IR1
r1, r2
6.5
6.5
12.0
C
RRC
RRC
LDC
R1
IR1
r1, Irr2
6.5
6.5
D
SRA
SRA
R1
IR1
6.5
6.5
E
RR
RR
R1
IR1
8.5
8.5
F
SWAP
SWAP
R1
IR1
2
Execution
Cycles
Upper
Opcode
Nibble
First
Operand
24
2
3
4
5
6.5
6.5
10.5
10.5
ADD
ADD
ADD
r1, Ir2
R2, R1
IR2, R1
R1, IM
6.5
6.5
10.5
10.5
ADC
ADC
ADC
r1, Ir2
R2, R1
IR2, R1
R1, IM
6.5
6.5
10.5
10.5
SUB
SUB
SUB
r1, Ir2
R2, R1
IR2, R1
R1, IM
6.5
6.5
10.5
10.5
SBC
SBC
SBC
r1, Ir2
R2, R1
IR2, R1
R1, IM
6.5
6.5
10.5
10.5
OR
OR
OR
OR
r1, Ir2
R2, R1
IR2, R1
R1, IM
6.5
6.5
10.5
10.5
AND
AND
AND
r1, Ir2
R2, R1
IR2, R1
R1, IM
6.5
6.5
10.5
10.5
TCM
TCM
TCM
r1, Ir2
R2, R1
IR2, R1
R1, IM
6.5
6.5
10.5
10.5
TM
TM
TM
TM
r1, Ir2
R2, R1
IR2, R1
R1, IM
6.5
6.5
10.5
10.5
CP
CP
CP
CP
r1, Ir2
R2, R1
IR2, R1
R1, IM
6.5
6.5
10.5
10.5
XOR
XOR
XOR
r1, Ir2
R2, R1
IR2, R1
R1, IM
18.0
LDCI
Ir1, Irr2
20.0
CALL*
CALL
IRR1
6.5
10.5
10.5
LD
LD
LD
R2, R1
IR2, R1
R1, IM
r1, IR2
6.5
10.5
LD
LD
Ir1, r2
R2, IR1
3
Lower
Opcode
Nibble
Pipeline
Cycles
4
10.5
CP
A
Mnemonic
1
2
R , R
Second
Operand
Lower Nibble (Hex)
6
7
8
9
6.5
6.5
12/10.5
10.5
10.5
LD
LD
DJNZ
ADD
ADD
IR1, IM
r1, R2
r2, R1
r1, RA
10.5
10.5
ADC
ADC
IR1, IM
10.5
10.5
SUB
SUB
IR1, IM
10.5
10.5
SBC
SBC
IR1, IM
10.5
10.5
OR
OR
IR1, IM
10.5
10.5
AND
AND
IR1, IM
10.5
10.5
TCM
TCM
IR1, IM
10.5
10.5
TM
TM
IR1, IM
10.5
10.5
CP
CP
IR1, IM
10.5
10.5
XOR
XOR
IR1, IM
10.5
LD
r1,x,R2
20.0
10.5
LD
DA
r2,x,R1
10.5
10.5
LD
LD
IR1, IM
Bytes per Instruction
Legend:
R = 8-bit Address
r = 4-bit Address
R1 or r1 = Dst Address
R2 or r2 = Src Address
Sequence:
Opcode, First Operand,
Second Operand
Note: Blank areas not defined.
*2-byte instruction appears as
Z08617 NMOS Z8
K
A
B
C
D
12/10.0
6.5
12.10.0
JR
LD
JP
cc, RA
r1, IM
cc, DA
2
3
a 3-byte instruction
®
8-B
MCU
IT
C
EYBOARD
ONTROLLER
E
F
6.5
INC
r1
6.0
WDT
6.1
DI
6.1
EI
14.0
RET
16.0
IRET
6.5
RCF
6.5
SCF
6.5
CCF
6.0
NOP
1

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents