Intel MCS-80/85 Computer Hardware User Manual


 
inter
I~
! 1
II
8080Al8080A·118080A·2
Table
2.
Instruction Set Summary
Clock
Instruction Code [1] Operations
Cycles
Mnemonic
[ry
06
Os
04
03
02
01
DO
Description
[2]
JPO 1
1 1
0
0 0
1 0
Jump on parity odd 10
PCHL 1 1 1 0
1
0 0
1 H & L
to
program 5
counter
II
I
'I
I
Clock
Instruction Code [1]
Operations
Cycles
Mnemonic
[ry
06
Os
04 03 02
01
DO
Description
[2]
MOVE, LOAD, AND STORE
MOVr1,r2 0
1 0 0 0 S S S
Move register
to
register 5
MOVM,r.
0
1 1 1
0 S
S S
Move register
to
CALL
CALL
1 1
0 0
1 1 0 1
Cali unconditional
17
CC
1 1
0
1 1 1 0 0
Cali
on carry
11/17
memory
7
MOVr,M 0
1 0 0 0 1
1
0
Move memory
to
regis-
ter
7
I
..
MVlr
0 0 D
0 0 1 1 0
Move immediate regis- CNC
1
1
0
1
0
1 0 0
Cali
on no carry
11/17
ter
7
CZ
1 1 0 0
1 1 0 0
Cali
on zero
11/17
MVIM
0 0
1 1
0
1 1 0
Move immediate
CNZ 1 1 0 0 0
1 0 0
Cali
on
no zero
11/17
memory
10
CP
1 1 1
1
0
1 0 0
Cali
on positive
11/17
LXIB
0 0 0 0 0 0 0
1
Load immediate register
10
CM
1 1 1 1
1 1
0 0
Cali
on minus
11/17
PairB
& C CPE
1 1 1
0
1 1 0
O.
Cali on parity even
11/17
LXI
0 0 0 0
1
0
0 0
1
Load immediate register
10
CPO 1
1 1
0
0
1 0 0
Cali
on parity odd
11/17
PairO&
E
RETURN
LXI
H 0 0
1
0 0 0
0
1 Load immediate register
10
RET
1
1
0 0
1 0 0
1 Return
10
PairH&L
RC
1
1
0
1 1 0 0 0
Return
on
carry
5/11
STAXB 0
0 0 0 0 0
1
0
Store
A indirect
7
RNC
1 1
0
1
0
0 0 0
Retu
rn
on no carry
5/11
STAXO 0 0 0
1
0
0
1
0
Store
A indirect
7
RZ
1 1 0 0 1 0 0 0
Return
on
zero
5/11
LDAXB
0 0 0 0
1 0 1 0
Load A indirect
7
RNZ
1 1
0
0 0 0 0 0
Return
on
no zero
5/11
LOAXO 0 0 0
1 1 0 1 0
Load A indirect
7
RP
1
1 1 1
0 0 0 0
Return on positive
5/11
STA
0 0
1 1
0
0
1 0
Store
A direct
13
RM
1 1 1 1 1 0 0 0
Return on minus
5/11
LOA
0 0
1 1 1 0 1 0
Load A direct
13
RPE
1 1 1 0
1
0
0 0
Return
on
parity even
5/11
SHLO 0 0
1
0
0 0
1
0
Store
H & L direct
16
RPO
1 1 1 0 0 0
0 0
Return
on
parity odd
5/11
LHLD 0 0
1 0 1 0
1
0
Load H & L direct
16
RESTART
XCHG
1 1
1
0
1 0 1 1
Exchange
0 &
E,
H & L
4
RST
1 1 A A A
1 1 1 Restart
11
Registers
INCREMENT AND DECREMENT
STACKOPS
INRr
0 0
D D D
1
0
0
Increment
register 5
PUSHB
1 1
0 0 0
1 0
1 Push register Pair B &
11
DCRr
0
0
D D
D 1
0 1
Decrement register 5
C on stack
INRM
0
0
1
1
0
1 0 0
Increment
memory
10
PUSH
0
1 1
0
1 0
1
0
1
Push register Pair
0 &
11
DCRM
0 0
1
1
0
1
0
1
Decrement memory
10
E on stack
INXB
0 0
0 0 0 0
1 1
Increment B & C 5
PUSHH 1 1
1
0
0
1 0 1
Push register Pair H &
11
registers
L on stack
INXD
0
0 0
1
0 0
1 1
Increment D & E
5
PUSH
1 1 1
1
0
1
0
1
Push A and Flags
11
registers
PSW
on stack
INXH
0 0
1 0 0 0
1 1
Increment H & L
5
POPB
1 1 0 0 0 0
0
1
Pop register Pair B &
10
registers
C
off
stack
OCXB 0 0 0
0
1 0
1 1
Decrement B &
C
5
POP
0
1 1 0 1 0 0 0
1
Pop register Pair
0 &
10
OCXO 0 0
0
1 1 0 1
1 Decrement
0 & E
5
E
off
stack
OCXH 0 0
1 0
1
0
1
1 Decrement H & L
5
POPH
1 1 1 0 0 0 0
1
Pop register Pair H &
10
ADD
Lofl
stack
AOOr
1
0
0 0 0
S S S
Add register
to
A
4
POPPSW
1 1 1 1 0 0 0
1 Pop A and Flags
10
AOCr
1 0 0 0
1 S S S
Add register
to
A
4
off
stack
with carry
XTHL 1 1 1
0 0 0
1 1
Exchange top
of
18
AOOM
1
0
0 0 0
1 1 0
Add memory
to
A
7
stack, H & L
AOCM
1 0 0 0
1 1 1 0
Add memory
to
A
7
SPHL
1 1 1 1 1 0 0
1 H & L to stack pointer 5
with carry
LXI
SP
0
0
1 1 0 0 0
1
Load immediate stack
10
AOI
1 1 0 0 0
1
1
0
Add immediate
to
A
7
pointer
ACI
1 1 0 0
1
1 1
0
Add immediate
to
A
7
INXSP
0.0
1 1 0 0
1 1
Increment stack pointer 5
with carry
OCXSP 0 0
1 1 1 0
1 1
Decrement stack 5
DADB
0 0
0 0
1 0
0
1
Add B &
C
to
H & L
10
pointer DADO 0
0 0
1 1 0
0
1 Add 0 & E
to
H & L
10
JUMP
OAOH 0 0
1 0
1 0 0
1
Add H &
Lto
H & L
10
JMP
1 1
0 0 0 0
1 1
Jump unconditional
10
DAOSP 0 0
1
1 1
0 0
1
Add stack pointer
to
10
JC
1 1
0
1 1 0
1
0
Jump
on
carry
10
H&L
JNC
1 1
0
1
0 0
1
0
Jump on no carry
10
JZ
1 1 0 0
1
0
1
0
Jump
on
zero
10
JNZ 1 1 0 0 0 0
1 0 Jump on no zero
10
JP 1
1 1 1
0 0 1 0
Jump on positive
10
JM
1 1 1 1 1
0
1
0
Jump on minus
10
JPE 1 1 1 0
1 0 1 0
Jump on parity even
10
6-8
AFN-00735C