IA186EM/IA188EM
Data Sheet
8-Bit/16-Bit Microcontrollers
February 25, 2011
Table 94. Instruction Set Summary (Continued)
Instruction
Opcode - Hex
Clock Cycles
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
–
IA186EM
15
IA188EM
19
O
U
D
I
T
S
Z
A
U
P
R
C
0
SCASW
SHR
AF
D0
D2
C0
D1
D3
C1
–
/7
–
–
–
15
19
2/15
2/15
–
–
–
R
R
/7
5+n/
17+n
5+n/
17+n
2/15
5+n/
17+n
5+n/
17+n
2/15
/7 ib
/7
data
8
–
/7
–
5+n/
17+n
5+n/
17+n
–
2
2
5+n/
17+n
5+n/
17+n
–
2
2
Divide unsigned of r/m16 by 2,
imm8 times
/7 ib
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
–
–
–
–
–
–
–
–
–
–
2
2
–
–
–
–
1
–
–
–
–
–
–
–
–
–
–
–
–
STOS
10
10
10
10
10
14
10
14
–
STOSB
STOSW
SUB
Subtract imm8 from AL
2C
2D
80
81
ib
iw
–
–
–
–
3
3
R
–
–
–
R
R
R
R
R
Subtract imm16 from AX
Subtract imm8 from r/m8
Subtract imm16 from r/m16
4
4
/5 ib
4/16
4/16
4/16
4/20
/5
iw
Subtract sign-extended imm8
from r/m16
83
/5 ib
–
4/16
4/20
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
/r
ib
–
–
–
–
–
–
data
8
3/10
3/10
3/10
3/10
3
3/10
3/14
3/10
3/14
3
TEST
0
–
–
–
R
R
U
R
0
AND imm16 with AX
AND imm8 with r/m8
iw
/0 ib
4
4/10
4
4/10
AND imm16 with r/m16
F7
/0
iw
/r
–
4/10
4/14
AND byte reg with r/m8
AND word reg with r/m16
84
85
–
data
8
3/10
3/10
3/10
3/14
/r
WAIT
Performs an NOP
9B
–
–
–
–
–
–
–
–
–
–
–
–
–
®
IA211050831-19
UNCONTROLLED WHEN PRINTED OR COPIED
http://www.Innovasic.com
Customer Support:
Page 135 of 146
1-888-824-4184