![background image](http://html1.mh-extra.com/html/amd/am186-series/am186-series_instruction-set_2921692299.webp)
Instruction Set Summary
A-7
POP = Pop:
Memory
1 0 0 0 1 1 1 1
mod 000 r/m
Register
0 1 0 1 1 reg
Segment register
0 0 0 sreg 1 1 1
(sreg
≠
01)
POPA = Pop All*
0 1 1 0 0 0 0 1
POPF = Pop flags
1 0 0 1 1 1 0 1
PUSH = Push:
Memory
1 1 1 1 1 1 1 1
mod 110 r/m
Register
0 1 0 1 0 reg
Segment register
0 0 0 sreg 1 1 0
Immediate*
0 1 1 0 1 0 s 0
data-8/data-low
data-high if s=0
PUSHA = Push All*
0 1 1 0 0 0 0 0
PUSHF = Push flags
1 0 0 1 1 1 0 0
RCL = Rotate through carry left
Register/Memory by 1
1 1 0 1 0 0 0 w
mod 010 r/m
Register/Memory by CL
1 1 0 1 0 0 1 w
mod 010 r/m
Register/Memory by Count*
1 1 0 0 0 0 0 w
mod 010 r/m
data-8
RCR = Rotate through carry right
Register/Memory by 1
1 1 0 1 0 0 0 w
mod 011 r/m
Register/Memory by CL
1 1 0 1 0 0 1 w
mod 011 r/m
Register/Memory by Count*
1 1 0 0 0 0 0 w
mod 011 r/m
data-8
REP (repeat by count in CX)
INS = Input string from DX port*
1 1 1 1 0 0 1 1
0 1 1 0 1 1 0 w
LODS = Load string
1 1 1 1 0 0 1 1
1 0 1 0 1 1 0 w
MOVS = Move string
1 1 1 1 0 0 1 1
1 0 1 0 0 1 0 w
OUTS = Output string*
1 1 1 1 0 0 1 1
0 1 1 0 1 1 1 w
STOS = Store string
1 1 1 1 0 0 1 1
1 0 1 0 1 0 1 w
REPE/REPZ (repeat by count in CX while equal/while zero)
CMPS = Compare string
1 1 1 1 0 0 1 1
1 0 1 0 0 1 1 w
SCAS = Scan string
1 1 1 1 0 0 1 1
1 0 1 0 1 1 1 w
REPNE/REPNZ (repeat by count in CX while not equal/while not zero)
CMPS = Compare string
1 1 1 1 0 0 1 0
1 0 1 0 0 1 1 w
SCAS = Scan string
1 1 1 1 0 0 1 0
1 0 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...