16-Bit High-Integration Embedded Processors Specification Sheet
80C186EA/80C188EA, 80L186EA/80L188EA
INSTRUCTION SET SUMMARY (Continued)
Function Format
80C186EA 80C188EA
Comments
Clock Clock
Cycles Cycles
LOGIC (Continued)
XOR
e
Exclusive or:
Reg/memory and register to either 001100dw modreg r/m 3/10 3/10*
Immediate to register/memory 1000000w mod110 r/m data data if w
e
1 4/16 4/16*
Immediate to accumulator 0011010w data data if w
e
1 3/4 3/4 8/16-bit
NOT
e
Invert register/memory 1111011w mod010 r/m 3/10 3/10*
STRING MANIPULATION
MOVS
e
Move byte/word 1010010w 14 14*
CMPS
e
Compare byte/word 1010011w 22 22*
SCAS
e
Scan byte/word 1010111w 15 15*
LODS
e
Load byte/wd to AL/AX 1010110w 12 12*
STOS
e
Store byte/wd from AL/AX 1010101w 10 10*
INS
e
Input byte/wd from DX port 0110110w 14 14
OUTS
e
Output byte/wd to DX port 0110111w 14 14
Repeated by count in CX (REP/REPE/REPZ/REPNE/REPNZ)
MOVS
e
Move string 11110010 1010010w 8
a
8n 8
a
8n
*
CMPS
e
Compare string 1111001z 1010011w 5
a
22n 5
a
22n
SCAS
e
Scan string 1111001z 1010111w 5
a
15n 5
a
15n*
LODS
e
Load string 11110010 1010110w 6
a
11n 6
a
11n*
STOS
e
Store string 11110010 1010101w 6
a
9n 6
a
9n*
INS
e
Input string 11110010 0110110w 8
a
8n 8
a
8n*
OUTS
e
Output string 11110010 0110111w 8
a
8n 8
a
8n*
CONTROL TRANSFER
CALL
e
Call:
Direct within segment 11101000 disp-low disp-high 15 19
Register/memory 11111111 mod010 r/m 13/19 17/27
indirect within segment
Direct intersegment 10011010 segment offset 23 31
segment selector
Indirect intersegment 11111111 mod011 r/m (mod
i
11) 38 54
JMP
e
Unconditional jump:
Short/long 11101011 disp-low 14 14
Direct within segment 11101001 disp-low disp-high 14 14
Register/memory 11111111 mod100 r/m 11/17 11/21
indirect within segment
Direct intersegment 11101010 segment offset 14 14
segment selector
Indirect intersegment 11111111 mod101 r/m (mod
i
11) 26 34
Shaded areas indicate instructions not available in 8086/8088 microsystems.
NOTE:
*Clock cycles shown for byte transfers. For word operations, add 4 clock cycles for all memory transfers.
47
47