Instruction Set Summary
A-9
STD = Set direction flag
1 1 1 1 1 1 0 1
STI = Set interrupt-enable flag
1 1 1 1 1 0 1 1
STOS/STOSB/STOSW = Store string
1 0 1 0 1 0 1 w
SUB = Subtract:
Reg/memory and register to either
0 0 1 0 1 0 d w
mod reg r/m
Immediate from register/memory
1 0 0 0 0 0 s w
mod 101 r/m
data-8/data-low
data-high if sw=01
(sw
≠
10)
Immediate from accumulator
0 0 1 0 1 1 0 w
data-8/data-low
data-high if w=1
TEST = AND function to flags, no result:
Register/memory and register
1 0 0 0 0 1 0 w
mod reg r/m
Immediate data and register/mem.
1 1 1 1 0 1 1 w
mod 000 r/m
data-8/data-low
data-high if w=1
Immediate data and accumulator
1 0 1 0 1 0 0 w
data-8/data-low
data-high if w=1
WAIT = Wait**
1 0 0 1 1 0 1 1
XCHG = Exchange:
Register/memory with register
1 0 0 0 0 1 1 w
mod reg r/m
Register with accumulator
1 0 0 1 0 reg
XLAT/XLATB = Translate byte to AL
1 1 0 1 0 1 1 1
XOR = Logical exclusive OR:
Reg/memory and register to either
0 0 1 1 0 0 d w
mod reg r/m
Immediate to register/memory
1 0 0 0 0 0 s w
mod 110 r/m
data-8/data-low
data-high if sw=01
(sw
≠
10)
Immediate to accumulator
0 0 1 1 0 1 0 w
data-8/data-low
data-high if w=1
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...