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
Mnemonic
AND
Description
And imm8 with AL
Byte 1
24
Byte 2
ib
3–6
IA186EM
IA188EM
3
O
0
D
–
I
–
T
–
S
R
Z
R
A
U
P
R
C
0
3
And imm16 with AX
And imm8 with r/m8
And imm16 with r/m16
And sign-extended imm8 with
r/m16
25
80
81
83
iw
4
4
/4 ib
/4 iw
/4 ib
4/16
4/16
4/16
4/16
4/20
4/20
And byte reg. with r/m8
And word reg. with r/m16
And r/m8 with byte reg
And r/m16 with word reg
Check array index against
bounds
20
21
22
23
62
/r
/r
/r
/r
/r
3/10
3/10
3/10
3/10
33–35
3/10
3/14
3/10
3/14
33–35
BOUND
CALL
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Call near, disp relative to next
instruction
E8
cw
15
19
Call near, reg indirect mem
Call far to full address given
Call far to address at m16:16
word
FF
9A
FF
/2
cd
/3
–
–
–
13/19
23
38
17/27
31
54
CBW
CLC
Convert byte integer to word
Clear carry flag
98
F8
–
–
–
–
2
2
2
2
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
CLD
CLI
Clear direction flag
FC
FA
F5
–
–
–
–
–
–
2
2
2
2
2
2
–
–
0
–
–
–
–
0
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Clear interrupt-enable flag
Complement carry flag
CMC
CMP
–
–
–
–
–
R
R
Compare imm8 to AL
Compare imm16 to AX
Compare imm8 to r/m8
Compare imm16 to r/m16
Compare sign-extended imm8 to
r/m16
3C
3D
80
81
83
ib
iw
/7
/7
/7
3
4
3/10
3/10
3/10
3
4
3/10
3/14
3/14
R
R
R
R
R
–
ib
iw
ib
Compare byte reg to r/m8
Compare word reg to r/m16
Compare r/m8 to byte reg
Compare r/m16 to word reg
Compare byte ES:[DI] to byte
segment:[SI]
38
39
3A
3B
A6
/r
/r
/r
/r
–
3/10
3/10
3/10
3/10
22
3/10
3/14
3/10
3/14
22
–
–
–
–
CMPS
R
–
–
–
R
R
R
R
R
Compare word ES:[DI] to word
segment:[SI]
Compare byte ES:[DI] to byte
DS:[SI]
Compare word ES:[DI] to word
DS:[SI]
A7
A6
A7
–
–
–
–
–
–
22
22
22
26
22
26
CMPSB
CMPSW
R
R
–
–
–
–
–
–
R
R
R
R
R
R
R
R
R
R
CS
CWD
CS segment reg override prefix
Convert word integer to double
word
2E
99
–
–
–
–
–
4
–
4
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
DAA
DAS
Decimal adjust AL after addition
Decimal adjust AL after
subtraction
27
2F
–
–
–
–
4
4
4
4
U
U
–
–
–
–
–
–
R
R
R
R
R
R
R
R
R
R
DEC
Subtract 1 from r/m8
Subtract 1 from r/m16
Subtract 1 from word reg
Divide unsigned numbers
FE
FF
48+rw
F6
/1
/1
–
–
3/15
3/15
3
3/15
3/19
3
R
–
–
–
R
R
R
R
R
DIV
mod
110
r/m
–
29/35
29/35
U
–
–
–
U
U
U
U
U
®
IA211050831-19
UNCONTROLLED WHEN PRINTED OR COPIED
http://www.Innovasic.com
Customer Support:
Page 127 of 146
1-888-824-4184