
Instruction Set Summary
A-6
LEAVE = Leave procedure*
1 1 0 0 1 0 0 1
LES = Load pointer to ES
1 1 0 0 0 1 0 0
mod reg r/m
(mod
≠
11)
LOCK = Bus lock prefix***
1 1 1 1 0 0 0 0
LODS/LODSB/LODSW = Load string to
AL/AX
1 0 1 0 1 1 0 w
LOOP = Loop CX Times
1 1 1 0 0 0 1 0
disp-8
LOOPE/LOOPZ = Loop while: equal/
zero
1 1 1 0 0 0 0 1
disp-8
LOOPNE/LOOPNZ = Loop while: not
equal/not zero
1 1 1 0 0 0 0 0
disp-8
MOV = Move:
Register to register/memory
1 0 0 0 1 0 0 w
mod reg r/m
Register/memory to register
1 0 0 0 1 0 1 w
mod reg r/m
Immediate to register/memory
1 1 0 0 0 1 1 w
mod 000 r/m
data-8/data-low
data-high if w=1
Immediate to register
1 0 1 1 w reg
data-8/data-low
data-high if w=1
Memory to accumulator
1 0 1 0 0 0 0 w
disp-low
disp-high
Accumulator to memory
1 0 1 0 0 0 1 w
disp-low
disp-high
Register/mem. to segment register
1 0 0 0 1 1 1 0
mod 0 sreg r/m
Segment reg. to register/memory
1 0 0 0 1 1 0 0
mod 0 sreg r/m
MOVS/MOVSB/MOVSW = Move string
to byte/word
1 0 1 0 0 1 0 w
MUL = Multiply (unsigned)
1 1 1 1 0 1 1 w
mod 100 r/m
NEG = Change sign reg./memory
1 1 1 1 0 1 1 w
mod 011 r/m
NOP = No Operation
1 0 0 1 0 0 0 0
NOT = Invert register/memory
1 1 1 1 0 1 1 w
mod 010 r/m
OR = Or:
Reg/memory and register to either
0 0 0 0 1 0 d w
mod reg r/m
Immediate to register/memory
1 0 0 0 0 0 s w
mod 001 r/m
data-8/data-low
data-high if sw=01
(sw
≠
10)
Immediate to accumulator
0 0 0 0 1 1 0 w
data-8/data-low
data-high if w=1
OUT = Output to:
Fixed port
1 1 1 0 0 1 1 w
data-8
Variable port
1 1 1 0 1 1 1 w
OUTS/OUTSB/OUTSW = Output string
to DX port*
0 1 1 0 1 1 1 w
Table A-2
Instruction Set Summary by Mnemonic
Instruction
Opcode
For
More
Info.,
See
Page
Notes:
* Indicates instructions not available in 8086 or 8088 systems.
**Indicates instructions that are not supported with the necessary pinout.
***The external LOCK pin is only available on some members of the Am186 and Am188 family of microcontrollers. However, LOCK internal
logic is still in effect on parts without the LOCK pin.
Summary of Contents for Am186 Series
Page 1: ...Am186 and Am188 Family Instruction Set Manual February 1997...
Page 10: ...Table of Contents x...
Page 18: ...Programming 1 8...
Page 40: ...Instruction Set Listing 3 14...