IA186ES/IA188ES
Data Sheet
8-Bit/16-Bit Microcontrollers
November 15, 2011
7.
Instruction Set Summary Table
Table 89 summarizes each instruction. A key to abbreviations is presented at the end of the
table.
Table 89. Instruction Set Summary
Instruction
Opcode – Hex
Clock Cycles
Flags Affected
Byte
3–6
–
–
–
–
–
–
–
Mnemonic
AAA
AAD
AAM
AAS
Description
Byte 1
Byte 2
–
0A
0A
–
ib
iw
/2 ib
/2 iw
/2 ib
IA186ES
IA188ES
O
U
U
U
U
R
D
–
–
–
–
–
I
T
–
–
–
–
–
S
U
R
R
U
R
Z
U
R
R
U
R
A
R
U
U
R
R
P
U
R
R
U
R
C
R
U
U
R
R
ASCII adjust AL after add
ASCII adjust AX before divide
ASCII adjust AL after multiply
ASCII adjust AL after subtract
Add imm8 to AL with carry
Add imm16 to AX with carry
Add imm8 to r/m8 with carry
Add imm16 to r/m16 with carry
Add sign extended imm8 to r/m16
with carry
37
D5
D4
3F
14
15
80
81
83
8
15
19
7
3
4
4/16
4/16
4/16
8
15
19
7
3
4
4/16
4/20
4/20
–
–
–
–
–
ADC
–
–
Add byte reg to r/m8 with carry
Add word reg to r/m16 with carry
Add r/m8 to byte reg with carry
Add r/m16 to word reg with carry
Add imm8 to AL
Add imm16 to AX
Add imm8 to r/m8
Add imm16 to r/m16
Add sign extended imm8 to r/m16
Add byte reg to r/m8
Add word reg to r/m16
Add r/m8 to byte reg
Add r/m16 to word reg
And imm8 with AL
And imm16 with AX
And imm8 with r/m8
And imm16 with r/m16
And sign-extended imm8 with
r/m16
10
11
12
13
04
05
80
81
83
00
01
02
03
24
25
80
81
83
/r
/r
/r
/r
ib
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
3/10
3/10
3/10
3/10
3
3/10
3/14
3/10
3/14
3
ADD
R
–
–
–
R
R
R
R
R
iw
4
4
/0 ib
/0 iw
/0 ib
/r
/r
/r
/r
ib
iw
4/16
4/16
4/16
3/10
3/10
3/10
3/10
3
4/16
4/20
4/20
3/10
3/14
3/10
3/14
3
AND
0
–
–
–
R
R
U
R
0
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
Call near, disp relative to next
instruction
20
21
22
23
62
E8
/r
/r
/r
/r
/r
–
–
–
–
–
–
3/10
3/10
3/10
3/10
33–35
15
3/10
3/14
3/10
3/14
33–35
19
BOUND
CALL
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
cw
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
R
Refer to the key for abbreviations and an explanation of notation at the end of this table.
®
IA211050902-19
UNCONTROLLED WHEN PRINTED OR COPIED
http://www.innovasic.com
Customer Support:
Page 134 of 154
1-888-824-4184