English
Language : 

IA186EM_11 Datasheet, PDF (135/146 Pages) InnovASIC, Inc – 8-Bit/16-Bit Microcontrollers
IA186EM/IA188EM
8-Bit/16-Bit Microcontrollers
Data Sheet
February 25, 2011
Table 94. Instruction Set Summary (Continued)
Instruction
Opcode - Hex
Clock Cycles
Flags Affected
Bytes
Mnemonic
Description
Byte 1 Byte 2 3–6 IA186EM IA188EM O D I T S Z A P C
SCASB
Compare byte AL to ES:[DI];
AE
–
–
15
19
update DI
SCASW Compare word AL to ES:[DI];
AF
–
–
15
19
update DI
SHR
Divide unsigned of r/m8 by 2,
D0
/7
–
2/15
2/15 U – – – R R U R 0
once
Divide unsigned of r/m8 by 2, CL D2
/7
–
5+n/
5+n/
times
17+n
17+n
Divide unsigned of r/m8 by 2,
C0
/7 ib data
5+n/
5+n/
imm8 times
8
17+n
17+n
Divide unsigned of r/m16 by 2,
D1
/7
–
2/15
2/15
once
Divide unsigned of r/m16 by 2,
D3
/7
–
5+n/
5+n/
CL times
17+n
17+n
Divide unsigned of r/m16 by 2,
C1
/7 ib data
5+n/
5+n/
imm8 times
8
17+n
17+n
SS
SS segment reg override prefix
36
–
–
–
–
– –––– – – – –
STC
Set the Carry Flag to 1
F9
–
2
2
– –––– – – – 1
STD
Set the Direction Flag so the
FD
–
–
2
2
– 1––– – – – –
source Index (SI) and/or the
Destination Index (DI) regs will
decrement during string
instructions
STI
Enable maskable interrupts after FB
–
–
2
2
– –1–– – – – –
the next instruction
STOS
Store AL in byte ES:[DI]; update AA
–
–
10
10
– –––– – – – –
DI
Store AX in word ES:[DI]; update AB
–
–
10
14
DI
STOSB
Store AL in byte ES:[DI]; update
AA
–
–
10
10
DI
STOSW Store AX in word ES:[DI]; update AB
–
–
10
14
DI
SUB
Subtract imm8 from AL
2C
ib
–
3
3
R –––RRRRR
Subtract imm16 from AX
2D
iw
–
4
4
Subtract imm8 from r/m8
80
/5 ib
–
4/16
4/16
TEST
WAIT
Subtract imm16 from r/m16
Subtract sign-extended imm8
from r/m16
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
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
81
/5
–
4/16
iw
83
/5 ib
–
4/16
28
/r
–
3/10
29
/r
–
3/10
2A
/r
–
3/10
2B
/r
–
3/10
A8
ib
–
3
A9
iw
–
4
F6
/0 ib data
4/10
8
F7
/0
–
4/10
iw
84
/r
–
3/10
85
/r
data
3/10
8
9B
–
–
–
4/20
4/20
3/10
3/14
3/10
3/14
3
0 –––RRUR0
4
4/10
4/14
3/10
3/14
–
– –––– – – – –
®
IA211050831-19
http://www.Innovasic.com
UNCONTROLLED WHEN PRINTED OR COPIED
Customer Support:
Page 135 of 146
1-888-824-4184