English
Language : 

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