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
REPZ
SCAS
Description
Find non-AL byte starting at
ES:DI
Find non-AX word starting at
ES:DI
Find matching bytes in ES:[DI]
and segment :[SI]
Byte 1
F3
Byte 2
AE
IA186EM
IA188EM
5+15n
O
D
I
T
S
Z
A
P
C
5+15n
5+15n
5+22n
5+22n
F3
F2
F2
AF
A6
A7
–
–
–
9+15n
5+22n
9+22n
REPNE
CMPS
–
–
–
–
–
–
–
–
–
Find matching words in ES:[DI]
and segment :[SI]
REPNZ
CMPS
Find AL byte starting at ES:[DI]
F2
F2
F2
A6
A7
AE
–
–
–
5+22n
5+22n
5+15n
5+22n
9+22n
5+15n
Find AX word starting at ES:[DI]
REPNE
SCAS
Find matching bytes in ES:DI
and segment :[SI]
Find matching words in ES:DI
and segment :[SI]
F2
AF
–
5+15n
9+15n
REPNZ
SCAS
Find AL byte starting at ES:DI
F2
F2
AE
AF
–
–
5+15n
5+15n
5+15n
9+15n
Find AX word starting at ES:DI
RET
Return near to calling procedure
Return far to calling procedure
C3
CB
16
22
20
30
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
data
low
data
high
Return near; pop imm16
parameters
Return far; pop imm16
parameters
Rotate 8 bits of r/m8 left once
Rotate 8 bits or r/m8 left CL
times
Rotate 8 bits or r/m8 left imm8
times
Rotate 16 bits of r/m8 left once
Rotate 16 bits or r/m8 left CL
times
Rotate 16 bits or r/m8 left imm8
times
Rotate 8 bits of r/m8 right once
Rotate 8 bits or r/m8 right CL
times
Rotate 8 bits or r/m8 right imm8
times
C2
CA
18
25
22
33
data
low
/0
data
high
–
ROL
D0
D2
2/15
5+n/
17+n
5+n/
17+n
2/15
5+n/
17+n
5+n/
17+n
2/15
5+n/
17+n
5+n/
17+n
2/15
5+n/
17+n
5+n/
17+n
3
2/15
5+n/
17+n
5+n/
17+n
2/15
5+n/
17+n
5+n/
17+n
2/15
5+n/
17+n
5+n/
17+n
2/15
5+n/
17+n
5+n/
17+n
3
U
R
/0
–
C0
/0 ib
data
8
–
–
D1
D3
/0
/0
ROL
ROR
U
U
–
–
–
–
–
–
–
–
–
–
–
–
–
–
R
R
C1
/0 ib
data
8
–
–
D0
D2
/1
/1
C0
/1 ib
data
8
–
–
Rotate 16 bits of r/m8 right once
Rotate 16 bits or r/m8 right CL
times
Rotate 16 bits or r/m8 right imm8
times
D1
D3
/1
/1
C1
9E
/1 ib
data
8
–
SAHF
Show AH in low byte of the
Status Flags reg
–
–
–
–
–
R
R
R
R
R
®
IA211050831-19
UNCONTROLLED WHEN PRINTED OR COPIED
http://www.Innovasic.com
Customer Support:
Page 133 of 146
1-888-824-4184