User's Manual

TABLE OF CONTENTS
CHAPTER 1
Page
INTRODUCTION TO THE
80286
General Attributes
...
....... .... ........... ....... ..................... .... ........... ....... ....... ..... ...... .............
1-1
Modes
of
Operation . ......... ..... ..... ................. ..... .............................. ....... ..... ...... ............. 1-2
Advanced Features ........................................................................................................ 1-2
Memory Management ................................................................................................. 1-2
Task Management ...................................................................................................... 1-3
Protection Mechanisms .............................................................................................. 1-3
Support for Operating Systems ................................................................................. 1-4
Organization
of
This Book ............................................. ................................................ 1-4
Related Publications ..... .............. ..... ......... ........................... ........... ......... ............. .......... 1-6
CHAPTER 2
80286
BASE
ARCHITECTURE
Memory Organization and Segmentation ......................................................................
2-1
Data Types ............................................... ......................................................... .............
2-1
Registers ......................................................................................................................... 2-7
General Registers ....................................................................................................... 2-7
Memory Segmentation and Segment Registers .......... ,............................................. 2-8
Index, Pointer, and Base Registers ........................................................................... 2-9
Status and
Control Registers ..................................................................................... 2-14
Addressing Modes ......................................................................................................... 2-16
Operands ..................................... .................................................... ........................... 2-16
Register and
Immediate Modes ................................................................ ................. 2-17
Memory Addressing Modes ....................................................................................... 2-17
Segment
Selection ........................ ............................................................ .............. 2-18
Offset Computation ................................................................................................. 2-19
Memory Mode ......................................................................................................... 2-20
Input/Output ...................................................................................................................
2-21
I/O Address Space ................................................................... ....... ............. .............. 2-23
Memory-Mapped
I/O .................................................................................................. 2-23
Interrupts and Exceptions .............................................................................................. 2-24
Hierarchy of
Instruction Sets ......................................................................................... 2-25
CHAPTER 3
BASIC
INSTRUCTION SET
Data Movement Instructions ..........................................................................................
3-1
General-Purpose Data Movement Instructions .........................................................
3-1
Stack Manipulation Instructions ................................................................................. 3-2
Flag Operation with the Basic Instruction Set ............................................................... 3-4
Status
Flags ................................................................................................................ 3-4
Control Flags ............................................................................................................... 3-4
Arithmetic
Instructions ................................................................................................... 3-5
Addition
Instructions ................................................................................................... 3-7
Subtraction
Instructions ............................................................................................. 3-7
Multiplication Instructions ........................................................................................... 3-8
Division
Instructions ................................................................................................... 3-9
Logical Instructions ........................................................................................................ 3-9
Boolean Operation Instructions ................................................................................. 3-9
Shift and Rotate
Instructions ...................................................................................... 3-10
Shift
Instructions ..................................................................................................... 3-10
v