Lecture02 - The 8086 Microprocessor Architecture
Lecture02 - The 8086 Microprocessor Architecture
By Habtamu W.
Definition
The intel 8086: is a 16 –bit microprocessor, implemented in
N-channel, depletion load, silicon gate technology (HMOS).
- It consists of powerful instruction set, which provides
operations like multiplication and division easily.
- It supports two modes of operation, i.e. Maximum mode
and Minimum mode. Maximum mode is suitable for
system having multiple processors and Minimum mode is
suitable for system having a single processor.
Definition
AX [Accumulator] AH:AL
BX [Base Register] BH:BL General Purpose
CX [Count Register] CH:CL Registers
DX [Data Register] DH:DL
CS [Code Segment]
DS [Data Segment] Segment Registers
Base address of segments
SS [Stack Segment]
ES [Extra Segment]
IP [Instruction pointer]
Pointer Registers
SP [Stack pointer]
Offset within a segment
BP [Base pointer]
SI [Source Index] Flags
DI [Destination Index] x x x x O D I T S Z x A x P x C
Bus interface Unit …
Physical address generation
- There’re two types of address generation
1. Real Mode (8086 can only operate in this mode)
- Allows the μP to address the first 1MB of memory only
- The first 1MB of memory is called real or physical memory
2. Protected Mode (80286 , 80386, …)
- Uses the segment register contents (called selector) to
access a descriptor from the descriptor table.
- The descriptor describes the memory segment’s location,
length and access right.
Summary … Address generation I
Segment : offset
eg. 03C1H : 38A0H
This notation is referred to as logical address
Summary … Address generation II
\WAXCH .00
Segment Offset
SS SP or BP Stack Address
Reset
Registers, seg
regs, flags
CS: FFFFH, IP:
0000H
If high for
minimum 4
Clock clks
Duty cycle: 33%
INTEL 8086 - Pin Details
Address/Data Bus:
Contains address Address Latch Enable:
bits A15-A0 when ALE
is 1 & data bits D15 – When high,
D0 when ALE is 0. multiplexed
address/data bus
contains address
information.
INTEL 8086 - Pin Details
INTERRUPT
Non - maskable
interrupt
Interrupt
acknowledge
Interrupt request
INTEL 8086 - Pin Details
Direct
Memory
Access
Hold
Hold
acknowledge
INTEL 8086 - Pin Details
Address/Status Bus
Address bits A19 – A16
& Status bits S6 – S3
INTEL 8086 - Pin Details
Min/Max mode
Minimum Mode: +5V
Maximum Mode:0v
Maximum Mode
Pins
Minimum Mode- Pin
Maximum Mode - Pin
S2 S1 S0
000: INTA
001: read I/O port
010: write I/O port
011: halt
100: code access
101: read memory Status Signal
110: write memory
111: none -passive Inputs to 8288 to
generate eliminated
signals due to max
mode.
Maximum Mode - Pin
QS1 QS0
00: Queue is idle
01: First byte of opcode
10: Queue is empty
11: Subsequent byte of Queue Status
opcode Used by numeric
coprocessor (8087)
Minimum Mode 8086 System
Minimum Mode 8086 System
51
‘Read’ Cycle timing Diagram for Minimum
Mode
‘Write’ Cycle timing Diagram for
Minimum Mode