![](http://datasheet.mmic.net.cn/280000/FEB-88_datasheet_16051035/FEB-88_30.png)
8088
8086/8088 Instruction Set Summary
(Continued)
Mnemonic and
Description
Instruction Code
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
PROCESSOR CONTROL
CLC
e
Clear Carry
1 1 1 1 1 0 0 0
CMC
e
Complement Carry
1 1 1 1 0 1 0 1
STC
e
Set Carry
1 1 1 1 1 0 0 1
CLD
e
Clear Direction
1 1 1 1 1 1 0 0
STD
e
Set Direction
1 1 1 1 1 1 0 1
CLI
e
Clear Interrupt
1 1 1 1 1 0 1 0
STI
e
Set Interrupt
1 1 1 1 1 0 1 1
HLT
e
Halt
1 1 1 1 0 1 0 0
WAIT
e
Wait
1 0 0 1 1 0 1 1
ESC
e
Escape (to External Device)
1 1 0 1 1 x x x
mod x x x r/m
LOCK
e
Bus Lock Prefix
1 1 1 1 0 0 0 0
NOTES:
AL
e
8-bit accumulator
AX
e
16-bit accumulator
CX
e
Count register
DS
e
Data segment
ES
e
Extra segment
Above/below refers to unsigned value
Greater
e
more positive:
Less
e
less positive (more negative) signed values
if d
e
1 then ‘‘to’’ reg; if d
e
0 then ‘‘from’’ reg
if w
e
1 then word instruction; if w
e
0 then byte
instruction
if mod
e
11 then r/m is treated as a REG field
if mod
e
00 then DISP
e
0
*
, disp-low and disp-high are
absent
if mod
e
01 then DISP
e
disp-low sign-extended to
16 bits, disp-high is absent
if mod
e
10 then DISP
e
disp-high; disp-low
if r/m
e
000 then EA
e
(BX)
a
(SI)
a
DISP
if r/m
e
001 then EA
e
(BX)
a
(DI)
a
DISP
if r/m
e
010 then EA
e
(BP)
a
(SI)
a
DISP
if r/m
e
011 then EA
e
(BP)
a
(DI)
a
DISP
if r/m
e
100 then EA
e
(SI)
a
DISP
if r/m
e
101 then EA
e
(DI)
a
DISP
if r/m
e
110 then EA
e
(BP)
a
DISP
*
if r/m
e
111 then EA
e
(BX)
a
DISP
DISP follows 2nd byte of instruction (before data if re-
quired)
*
except if mod
e
00 and r/m
e
then EA
e
disp-high:
disp-low.
if s:w
e
01 then 16 bits of immediate data form the oper-
and
if s:w
e
11 then an immediate data byte is sign extended
to form the 16-bit operand
if v
e
0 then ‘‘count’’
e
1; if v
e
1 then ‘‘count’’ in (CL)
register
x
e
don’t care
z is used for string primitives for comparison with ZF FLAG
SEGMENT OVERRIDE PREFIX
0 0 1 reg 1 1 0
REG is assigned according to the following table:
16-Bit (w
e
1)
000
AX
001
CX
010
DX
011
BX
100
SP
101
BP
110
SI
111
DI
8-Bit (w
e
0)
000
001
010
011
100
101
110
111
Segment
AL
CL
DL
BL
AH
CH
DH
BH
00
01
10
11
ES
CS
SS
DS
Instructions which reference the flag register file as a 16-bit
object use the symbol FLAGS to represent the file:
FLAGS
e
X:X:X:X:(OF):(DF):(IF):(TF):(SF):(ZF):X:(AF):X:(PF):X:(CF)
Mnemonics
Intel, 1978
DATA SHEET REVISION REVIEW
The following list represents key differences be-
tween this and the -005 data sheet. Please review
this summary carefully.
1. The
(HMOS) has been changed to (HMOS-II).
Intel
8088
implementation
technology
30