Download 80C186EB/80C188EB Microprocessor User`s Manual

Transcript
CONTENTS
CHAPTER 1
INTRODUCTION
1.1
HOW TO USE THIS MANUAL....................................................................................... 1-2
1.2
RELATED DOCUMENTS .............................................................................................. 1-3
1.3
CUSTOMER SERVICE.................................................................................................. 1-4
1.3.1
How to Use Intel's FaxBack Service .........................................................................1-5
1.3.2
How to Use Intel's Application BBS ..........................................................................1-5
1.3.3
How to Find the Latest ApBUILDER Files, Hypertext Manuals, and
Data Sheets on the BBS ............................................................................................1-6
CHAPTER 2
OVERVIEW OF THE 80C186 FAMILY ARCHITECTURE
2.1
ARCHITECTURAL OVERVIEW .................................................................................... 2-1
2.1.1
Execution Unit ...........................................................................................................2-2
2.1.2
Bus Interface Unit .....................................................................................................2-3
2.1.3
General Registers .....................................................................................................2-4
2.1.4
Segment Registers ...................................................................................................2-5
2.1.5
Instruction Pointer .....................................................................................................2-6
2.1.6
Flags .........................................................................................................................2-7
2.1.7
Memory Segmentation ..............................................................................................2-8
2.1.8
Logical Addresses ...................................................................................................2-10
2.1.9
Dynamically Relocatable Code ...............................................................................2-13
2.1.10 Stack Implementation .............................................................................................2-15
2.1.11 Reserved Memory and I/O Space ...........................................................................2-15
2.2
SOFTWARE OVERVIEW ............................................................................................ 2-17
2.2.1
Instruction Set .........................................................................................................2-17
2.2.1.1
Data Transfer Instructions .............................................................................2-18
2.2.1.2
Arithmetic Instructions ...................................................................................2-19
2.2.1.3
Bit Manipulation Instructions .........................................................................2-21
2.2.1.4
String Instructions ..........................................................................................2-22
2.2.1.5
Program Transfer Instructions .......................................................................2-23
2.2.1.6
Processor Control Instructions ......................................................................2-27
2.2.2
Addressing Modes ..................................................................................................2-27
2.2.2.1
Register and Immediate Operand Addressing Modes ...................................2-27
2.2.2.2
Memory Addressing Modes ...........................................................................2-28
2.2.2.3
I/O Port Addressing .......................................................................................2-36
2.2.2.4
Data Types Used in the 80C186 Modular Core Family .................................2-37
2.3
INTERRUPTS AND EXCEPTION HANDLING ............................................................ 2-39
2.3.1
Interrupt/Exception Processing ...............................................................................2-39
2.3.1.1
Non-Maskable Interrupts ...............................................................................2-42
2.3.1.2
Maskable Interrupts .......................................................................................2-43
2.3.1.3
Exceptions .....................................................................................................2-43
iii