Sign In
Upload
Download
Table of Contents
Contents
Add to my manuals
Delete from my manuals
Share
URL of this page:
HTML Link:
Bookmark this page
Add
Manual will be automatically added to "My Manuals"
Print this page
×
Bookmark added
×
Added to my manuals
Manuals
Brands
AMD Manuals
Microcontrollers
Am188 Series
Instruction set
AMD Am188 Series Instruction Set
Hide thumbs
1
2
3
4
Table Of Contents
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
page
of
320
Go
/
320
Contents
Table of Contents
Bookmarks
Table of Contents
Introduction and Overview
Purpose of this Manual
Intended Audience
Manual Overview
E86 Family
Table of Contents
Chapter 1 Programming
Register Set
Processor Status Flags Register
Figure 1-1 Register Set
Figure 1-2 Processor Status Flags Register (FLAGS)
Instruction Set
Memory Organization and Address Generation
Figure 1-4 Memory and I/O Space
Figure 1-3 Physical-Address Generation
I/O Space
Segments
Data Types
Table 1-1 Segment Register Selection Rules
Figure 1-5 Supported Data Types
Addressing Modes
Register and Immediate Operands
Memory Operands
Table 1-2 Memory Addressing Mode Examples
Chapter 2 Instruction Set Overview
Overview
Instruction Format
Instruction Prefixes
Segment Override Prefix
Opcode
Operand Address
Table 2-1 Mod Field
Displacement
Immediate
Notation
Table 2-2 Aux Field
Table 2-3 R/M Field
USING this Manual
Mnemonics and Names
Forms of the Instruction
Figure 2-1 Instruction Mnemonic and Name Sample
What It Does
Syntax
Description
Operation It Performs
Flag Settings after Instruction
Examples
Tips
Related Instructions
Chapter 3 Instruction Set Listing
Instruction Set by Type
Address Calculation and Translation
Binary Arithmetic
Comparison
Control Transfer
Data Movement
Decimal Arithmetic
Flag
Input/Output
Logical Operation
Processor Control
String
Chapter 4 Instruction Set
Instructions
AAA ASCII Adjust al after Addition
AAD ASCII Adjust AX before Division
AAM ASCII Adjust al after Multiplication
AAS ASCII Adjust al after Subtraction
ADC Add Numbers with Carry
ADD Add Numbers
AND Logical and
BOUND Check Array Index against Bounds
CALL Call Procedure
CBW Convert Byte Integer to Word
CLC Clear Carry Flag
CLD Clear Direction Flag
CLI Clear Interrupt-Enable Flag
CMC Complement Carry Flag
CMP Compare Components
CMPS Compare String Components
CWD Convert Word Integer to Doubleword
DAA Decimal Adjust al after Addition
DAS Decimal Adjust al after Subtraction
DEC Decrement Number by One
DIV Divide Unsigned Numbers
ENTER Enter High-Level Procedure
ESC Escape
HLT Halt
IDIV Divide Integers
IMUL Multiply Integers
IN Input Component from Port
INC Increment Number by One
INS Input String Component from Port
INT Generate Interrupt
IRET Interrupt Return
JA Jump if above
JAE Jump if above or Equal
JB Jump if below
JBE Jump if below or Equal
JC Jump if Carry
JCXZ Jump if CX Register Is Zero
JE Jump if Equal
JG Jump if Greater
JL Jump if Less
JGE Jump if Greater or Equal
JLE Jump if Less or Equal
JMP Jump Unconditionally
JNA Jump if Not above
JNAE Jump if Not above or Equal
JNB Jump if Not below
JNBE Jump if Not below or Equal
JNC Jump if Not Carry
JNE Jump if Not Equal
JNG Jump if Not Greater
JNGE Jump if Not Greater or Equal
JNL Jump if Not Less
JNLE Jump if Not Less or Equal
JNO Jump if Not Overflow
JNP Jump if Not Parity
JNS Jump if Not Sign
JNZ Jump if Not Zero
JO Jump if Overflow
JP Jump if Parity
JPE Jump if Parity Even
JPO Jump if Parity Odd
JS Jump if Sign
JZ Jump if Zero
LAHF Load AH with Flags
LDS Load DS with Segment and Register with Offset
LEA Load Effective Address
LEAVE Leave High-Level Procedure
LES Load es with Segment and Register with Offset
LOCK Lock the Bus
LODS Load String Component
LOOP Loop While CX Register Is Not Zero
LOOPE Loop if Equal
LOOPNE Loop if Not Equal
LOOPZ Loop if Zero
MOV Move Component
MOVS Move String Component
MUL Multiply Unsigned Numbers
NEG Two's Complement Negation
NOP no Operation
NOT One's Complement Negation
OR Logical Inclusive or
OUT Output Component to Port
OUTS Output String Component to Port
POP Pop Component from Stack
POPA Pop All 16-Bit General Registers from Stack
POPF Pop Flags from Stack
PUSH Push Component Onto Stack
PUSHA Push All 16-Bit General Registers Onto Stack
PUSHF Push Flags Onto Stack
RCL Rotate through Carry Left
RCR Rotate through Carry Right
REP Repeat
REPE Repeat While Equal
REPNE Repeat While Not Equal
REPZ Repeat While Zero
RET Return from Procedure
ROL Rotate Left
ROR Rotate Right
SAHF Store AH in Flags
SAL Shift Arithmetic Left
SAR Shift Arithmetic Right
SBB Subtract Numbers with Borrow
SCAS Scan String for Component
SHL Shift Left
SHR Shift Right
STC Set Carry Flag
STD Set Direction Flag
STI Set Interrupt-Enable Flag
STOS Store String Component
SUB Subtract Numbers
TEST Logical Compare
WAIT Wait for Coprocessor
XCHG Exchange Components
XLAT Translate Table Index to Component
XOR Logical Exclusive or
Appendix A Instruction Set Summary
Index
INSTRUCTION SET in Alphabetical Order
Advertisement
Quick Links
Download this manual
See also:
User Manual
Am186™ and Am188™ Family
Instruction Set Manual
February, 1997
Table of
Contents
Previous
Page
Next
Page
1
2
3
4
5
Advertisement
Table of Contents
Need help?
Do you have a question about the Am188 Series and is the answer not in the manual?
Ask a question
Questions and answers
Related Manuals for AMD Am188 Series
Microcontrollers AMD Am186 User Manual
Cc/ch/cu microcontroller customer development platform (168 pages)
Microcontrollers AMD Am186 Series Instruction Set
(320 pages)
Microcontrollers AMD Am186 CC User Manual
(376 pages)
Microcontrollers AMD Am186 CH User Manual
(376 pages)
Microcontrollers AMD Am186 CU User Manual
(376 pages)
Microcontrollers AMD Am186 ES User Manual
(192 pages)
Microcontrollers AMD Am188 ES User Manual
(192 pages)
Microcontrollers AMD AM186EM User Manual
(186 pages)
Microcontrollers AMD XILINX Kria KR260 User Manual
Robotics starter kit (27 pages)
Microcontrollers AMD Elan SC520 User Manual
(444 pages)
Summarization of Contents
PROGRAMMING
INTRODUCTION AND OVERVIEW
Provides an overview of the Am186/Am188 microcontroller family and the manual's structure.
INSTRUCTION SET LISTING
INSTRUCTION SET BY TYPE
Classifies instructions by their functional group for easier understanding.
INSTRUCTION SET OVERVIEW
OVERVIEW
Introduces the instruction set used by the Am186/Am188 family.
INSTRUCTION SET
INSTRUCTIONS
Provides a detailed description of each supported instruction, including format and operation.
Table of Contents
Print
Rename the bookmark
Delete bookmark?
Delete from my manuals?
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL
Need help?
Do you have a question about the Am188 Series and is the answer not in the manual?
Questions and answers