You are on page 1of 6

2102440 Introduction to Microprocessors Chapter 6 The 8086 Hardware Architecture

Suree Pumrin, Ph.D.


1

Topics
Minimum-mode and maximum-mode

systems DEMUX address/Data bus Bus cycle and time states

2102440 Introduction to Microprocessors

The 8086 Microprocessor


It is a 40-pin dual in-line package. Many pins have multiple functions. It can work in two modes: minimum mode and maximum mode. Maximum mode is used when it needs to connect to an 8087 math coprocessor. The minimum mode is selected by making the MN/MX equal to 1. The maximum mode is selected by making the MN/MX equal to 0. Minimum mode 8086 system has one microprocessor.
The 8086 in Minimum Mode

2102440 Introduction to Microprocessors

Common Signals in both Minimum and Maximum Modes


Name AD15-AD0 A19/S6-A16/S3 Function Address/data bus Address/status Bus High Enable/Status Type Bidirectional, 3-state Output, 3-state Output, 3-state Input Output, 3-state Input Input Input Input Input Input Input Input

BHE / S 7
MN / MX
Minimum/maximum Mode control Read control
RD

TEST
READY RESET NMI INTR CLK VCC GND

Wait on test control Wait state control System reset Nonmaskable Interrupt request Interrupt request System clock +5 V Ground

2102440 Introduction to Microprocessors

Unique Minimum Mode Signals


Name HOLD HLDA Function Hold request Hold acknowledge Write control IO/memory control Data transmit/receive Data enable Type Input Output Output, 3-state Output, 3-state Output, 3-state Output, 3-state

WR
IO/ M

DT / R

DEN
ALE

Address latch enable Interrupt acknowledge

Output Output

INTA

The 8086 in Minimum Mode


2102440 Introduction to Microprocessors

Unique Maximum Mode Signals


Name Function Request/grant bus access control Bus priority lock control Bus cycle status Type Bidirectional

RQ / GT 1, 0
LOCK

Output, 3-state Output, 3-state

S2 S0
QS1, QS0

Instruction queue status

Output

The 8086 in Maximum Mode


2102440 Introduction to Microprocessors

Minimum Mode Interface


Power supply
Vcc GND
INTR

Address/data bus AD0-AD15, A16/S3-A19/S6


ALE

Interrupt interface

INTA TEST NMI RESET

8086 MPU

BHE/S7 M/IO DT/R

Memory/IO controls

DMA interface Mode select

HOLD HLDA Vcc

RD WR DEN READY

MN/MX

CLK
2102440 Introduction to Microprocessors

Maximum Mode Interface


CLK Vcc GND
CLK S0 S1 S2 S0 AEN MRDC MWTC AMWC AEN

Interrupt interface
INTR TEST

CLK

S1

8288 Bus Controller

IORC IOWC AIOWC INTA MCE/PDEN

NMI
S2

DEN DT/R ALE

RESET

ALE DT/R

8086 MPU
AD0-AD15, A16/S3-A19/S6

DEN

MN/MX

LOCK BHE RD READY

QS1,QS0

RQ/GT1

RQ/GT0

Local Bus Control

2102440 Introduction to Microprocessors

Microprocessor Buses (I)


The 8086 has three sets of separate

buses

The address bus provides the path for the address to locate the targeted device. The data bus transfers data between CPU and the targeted device. The control bus provides the signals to indicate the type of operation being executed.

2102440 Introduction to Microprocessors

Microprocessor Buses (II)


Address/Data bus

The address bus is 20 bits long (A0-A19). The data bus D0-D15 are multiplexed with address bus A0-A15 -> AD0 AD15. The ALE ( Address Latch Enable) is set high to indicate the information on AD0AD0-AD15 is address; ALE is low when AD0AD0-AD15 carry data. The process of separating address and data from pins AD0AD0-AD15 is called demultiplexing. demultiplexing. There are many controls signals; however, we emphasis on the read read and write operations: RD 0 1 0 1 0 WR 1 0 1 0 0 IO/M 0 0 1 1 x Signal IOR IOW MEMR MEMW Never happens
10

Control bus

2102440 Introduction to Microprocessors

Address, Data, and Control Buses in 8086 Based System

2102440 Introduction to Microprocessors

11

Bus Timing of the 8086

The 8086 uses 4 clocks for memory and I/O bus activities. Read timing: The first clock cycle -- ALE latches the address The second and third clock cycles the read signal is provided. The end of fourth clock cycle the data must be at the pins of the CPU to be fetched in.
2102440 Introduction to Microprocessors

12

You might also like