IA186ER/IA188ER
Data Sheet
16-Bit/8-Bit Microcontrollers with RAM
February 25, 2013
Table 97. Instruction Set Summary (Continued)
Instruction
Opcode - Hex
Flags Affected
Bytes
3–6
–
Mnemonic
SCASB
Description
Compare byte AL to ES:[DI];
update DI
Compare word AL to ES:[DI];
update DI
Divide unsigned of r/m8 by 2,
once
Divide unsigned of r/m8 by 2, CL
times
Divide unsigned of r/m8 by 2,
imm8 times
Divide unsigned of r/m16 by 2,
once
Divide unsigned of r/m16 by 2,
CL times
Byte 1
AE
Byte 2
–
O
U
D
I
T
S
Z
A
U
P
R
C
0
SCASW
SHR
AF
D0
D2
C0
D1
D3
C1
–
–
–
–
/5
/5
/5
/5
/5
/5
–
–
–
R
R
data
8
–
–
Divide unsigned of r/m16 by 2,
imm8 times
data
8
SS
STC
STD
SS segment reg override prefix
Set the Carry Flag to 1
Set the Direction Flag so the
source Index (SI) and/or the
Destination Index (DI) regs will
decrement during string
instructions
36
F9
FD
–
–
–
–
–
–
–
–
–
1
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
1
–
–
STI
Enable maskable interrupts after
the next instruction
Store AL in byte ES:[DI]; update
DI
Store AX in word ES:[DI]; update
DI
Store AL in byte ES:[DI]; update
DI
Store AX in word ES:[DI]; update
DI
FB
AA
AB
AA
AB
–
–
–
–
–
–
–
–
–
–
–
–
–
–
1
–
–
–
–
–
–
–
–
–
–
–
–
STOS
–
STOSB
STOSW
SUB
Subtract imm8 from AL
2C
2D
80
ib
iw
/5
–
–
R
–
–
–
R
R
R
R
R
Subtract imm16 from AX
Subtract imm8 from r/m8
ib
Subtract imm16 from r/m16
Subtract sign-extended imm8
from r/m16
81
83
/5
/5
iw
ib
Subtract byte reg from r/m8
Subtract word reg from r/m16
Subtract r/m8 from byte reg
Subtract r/m16 from word reg
AND imm8 with AL
28
29
2A
2B
A8
A9
F6
/r
/r
/r
–
–
–
–
–
–
data
8
iw
–
-
/r
TEST
WAIT
ib
iw
/0
0
–
–
–
–
–
–
R
R
U
R
0
AND imm16 with AX
AND imm8 with r/m8
AND imm16 with r/m16
AND byte reg with r/m8
AND word reg with r/m16
Performs an NOP
F7
84
85
9B
/0
/r
/r
–
–
–
–
–
–
–
–
IA211110517-02
UNCONTROLLED WHEN PRINTED OR COPIED
http://www.innovasic.com
Customer Support:
Page 139 of 146
1-888-824-4184