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
JS
LAHF
Description
Byte 1
78
9F
Byte 2
cb
–
IA186EM
13, 4
2
IA188EM
13, 4
2
O
–
–
D
–
–
I
–
–
T
–
–
S
–
–
Z
–
–
A
–
–
P
–
–
C
–
–
Jump short if sign (S=1)
Load AH with low byte of flags
reg
–
LDS
LEA
Load DS:r16 with segment offset
from memory
Load offset for m16 word in
16-bit reg
C5
8D
/r
/r
–
–
18
6
26
6
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
LEAVE
LES
Destroy procedure stack frame
Load ES:r16 with segment offset
from memory
C9
C4
–
/r
–
–
8
18
8
26
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
LOCK
LODS
Asserts lock_n during an
instruction execution
F0
–
–
–
–
1
1
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Load byte segment :[SI] in AL
Load word segment :[SI] in AX
Load byte DS:[SI] in AL
Load word DS:[SI] in AX
Decrement count; jump short if
AC
AD
AC
AD
E2
12
12
12
12
16, 6
12
16
12
16
16, 6
LODSB
LODSW
LOOP
–
–
–
–
–
–
–
–
–
–
–
–
CX
0
LOOPE
LOOPZ
LOOPNE
LOOPNZ
MOV
Decrement count; jump short if
CX 0 and Z = 1
Decrement count; jump short if
CX 0 and Z = 1
Decrement count; jump short if
CX 0 and Z = 0
Decrement count; jump short if
CX 0 and Z = 0
E1
cb
E0
cb
–
16, 6
16, 6
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Copy reg to r/m8
Copy reg to r/m16
Copy r/m8 to reg
88
89
8A
/r
/r
/r
–
–
–
2/12
2/12
2/9
2/12
2/16
2/9
Copy r/m16 to reg
Copy segment reg to r/m16
Copy r/m16 to segment reg
Copy byte at segment offset to
AL
8B
8C
8E
A0
/r
/sr
/sr
–
–
–
–
–
2/9
2/11
2/9
8
2/13
2/15
2/13
8
Copy word at segment offset to
AX
Copy AL to byte at segment
offset
Copy AX to word at segment
offset
Copy imm8 to reg
Copy imm16 to reg
Copy imm8 to r/m8
Copy imm16 to r/m16
Copy byte segment [SI] to
ES:[DI]
A1
A2
A3
–
–
–
–
–
–
–
–
8
9
9
12
9
13
B0+rb
B8+rw
C6
C7
A4
3
3
12
12
14
3
4
12
13
14
/0
/0
–
–
–
–
MOVS
–
–
–
–
–
–
–
–
–
Copy word segment [SI] to
ES:[DI]
A5
–
–
14
18
MOVSB
MOVSW
Copy byte DS:[SI] to ES:[DI]
Copy word DS:[SI] to ES:[DI]
A4
A5
–
–
–
–
14
14
14
18
®
IA211050831-19
UNCONTROLLED WHEN PRINTED OR COPIED
http://www.Innovasic.com
Customer Support:
Page 130 of 146
1-888-824-4184