IA186ES/IA188ES
Data Sheet
8-Bit/16-Bit Microcontrollers
November 15, 2011
Table 89. Instruction Set Summary (Continued)
Instruction
Opcode – Hex
Clock Cycles
Flags Affected
Byte
3–6
–
Mnemonic
SUB
Description
Byte 1
Byte 2
ib
IA186ES
IA188ES
3
O
R
D
–
I
–
T
–
S
R
Z
R
A
R
P
R
C
R
Subtract imm8 from AL
Subtract imm16 from AX
Subtract imm8 from r/m8
Subtract imm16 from r/m16
2C
2D
80
81
3
iw
–
–
–
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
XCHG
Performs a NOP
Exchange word reg with AX
Exchange AX with word reg
9B
90
+rw
–
–
–
–
–
–
–
3
3
–
3
3
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Exchange byte reg with r/byte
Exchange r/m8 with byte reg
Exchange word reg with r/m16
Exchange r/m16 with word reg
86 /r
87 /r
–
–
–
–
–
–
–
–
–
–
4/17
4/17
4/17
4/17
11
4/17
4/17
4/21
4/21
15
XLAT
XLATB
XOR
Set AL to memory byte
segment:[BX+unsigned AL]
Set AL to memory byte
DS:[BX+unsigned AL]
XOR imm8 with AL
D7
D7
–
–
–
–
–
–
–
–
–
–
–
–
–
–
11
15
34
35
80
81
ib
iw
–
–
–
–
3
3
0
R
R
U
R
0
XOR imm16 with AX
XOR imm8 with r/m8
XOR imm16 with r/m16
4
4
/6 ib
4/16
4/16
4/16
4/20
/6
iw
XOR sign-extended imm8 with
r/m16
83
/6 ib
–
4/16
4/20
XOR byte reg with r/m8
XOR word reg with r/m16
XOR r/m8 with byte reg
XOR r/m16 with word reg
30
31
32
33
/r
/r
/r
/r
–
–
–
–
3/10
3/10
3/10
3/10
3/10
3/14
3/10
3/14
®
IA211050902-19
UNCONTROLLED WHEN PRINTED OR COPIED
http://www.innovasic.com
Customer Support:
Page 143 of 154
1-888-824-4184