Professional Documents
Culture Documents
Min Max Mode
Min Max Mode
Min Max Mode
CSC405 Microprocessor
8086 Microprocessor
Modes of Operation
Microprocessor rithesh.kini@thadomal.org
8086 – Pin Diagram
8086 operates in 2 modes:
i. Minimum Mode
ii. Maximum Mode
The minimum mode is used for a small system with a
single processor
3
Microprocessor rithesh.kini@thadomal.org
8086 – Functional Pin Diagram
VCC AD15 – AD0
GND AD16/ S3
GND AD17/ S4
AD18/ S5
CLK AD19/ S6
RESET 8 BHE/ S7
READY 0
5
Microprocessor rithesh.kini@thadomal.org
8086 – Pin Configuration
Pin Definitions:
Mode Multiplexed signals (8 pins)
MN/MX
MIN Mode MIN Mode 33 VCC
31 HOLD
HOLD DT/R 30 HLDA
29 WR
HLDA M/IO
28 M/I O
8086
WR ALE 27 DT/ R
26 DEN
DEN INTA
25 ALE
24 INTA
6
Microprocessor rithesh.kini@thadomal.org
8086 – Pin Configuration
Pin Definitions:
Mode Multiplexed signals (8 pins)
33 GND MN/MX
MAX Mode MAX Mode
31 RQ/ GT0
29 LOCK
RQ1/ GT1 S2 28 S2
8086
LOCK QS0 27 S1
26 S0
S0 QS1 25 QS0
24 QS1
7
Microprocessor rithesh.kini@thadomal.org
8086
8
Microprocessor rithesh.kini@thadomal.org
8086
9
Microprocessor rithesh.kini@thadomal.org
8284: Clock Generator & Driver
i. Provides CLOCK (CLK) signal, a train of pulses at a constant frequency
ii. It synchronizes the READY (RDY) signal which indicates that an interface is ready for
data.
iii. Also synchronizes the RESET (RST) signal which is used to initialize the system
iv. 2 ways :
+ 5v
R D
READY READY
RDY1
10
Microprocessor rithesh.kini@thadomal.org
8086
11
Microprocessor rithesh.kini@thadomal.org
8282: 8 bit latch
The address data bus AD15-AD0 is
time multiplexed
12
Microprocessor rithesh.kini@thadomal.org
8282: 8 bit latch
The high ALE asserts the STB of 8282, It enables the external latches to store the address.
Thus to get the 20 bit address (A0-A7, A8-A15,A16-A19) and the BHE signal, 3 - 8282’s are
required (8 bit latch & 21 lines, so 3 latches reqd).
BHE
A19/S6 8 bit Latch
BHE/S7 8282
A16/S3 A19 - A16
STB OE
8086
ALE . STB
AD15 8 bit Latch 20 bit address to
A15 - A8
8282 the memory or
OE I/O
AD0
STB
8 bit Latch
A8 - A0
8282
OE
13
Microprocessor rithesh.kini@thadomal.org
8086
14
Microprocessor rithesh.kini@thadomal.org
8286: Octal trans-receiver (Transmitters & Receivers)
i. Contains fully parallel 8 bit bus trans- receiver. 2 transceivers are required as data bus
is 16 – bits.
iii. Acts as bidirectional buffer and increases the driving capacity of the data bus.
A0-A7
AD8-AD15
DT/R B0 – B7 D8 – D16
T controls the direction of DEN
T
8286
OE
15
Microprocessor rithesh.kini@thadomal.org
8086 – Demultiplexing Address and Data Bus
BHE
A19/S6 8 bit Latch
BHE/S7 8282
A16/S3
STB OE A19 - A16
STB
8 bit Latch
A8 - A0
8282
OE
Multiplexed Address/ Data bus A0-A7
AD8-AD15
DT/R B0 – B7 D8 – D16
T
DEN 8286
OE
8086
16 bit data bus
A0-A7
AD0 – AD7 B0 – B7 D0-D7
T 8286
OE
16
Microprocessor rithesh.kini@thadomal.org
8086 - Minimum Mode Minimum System Block Diagram
+ 5v MN/MX Vcc(5V) BHE
ALE
R D STB
BHE Address Bus
8282
A19- A16 (3)
Crystal AD15-AD0 OE
C RES
X1
CLK
C CLK
X2
F/C 8284 RESET RESET
Data Bus
RDY1
READY
READY
8286
AEN1 8086 (2)
RDY2 DEN
OE
AEN2
DT/R
T
M/IO IORD
Wait WR IOWR
State Generator RD 74LS138
HOLD Control 3:8 MRD
Bus Decoder
HLDA MWR
INTR
G2A G2B G1
INTA
Vcc(5V)
17
Microprocessor rithesh.kini@thadomal.org
8086
Read M/Cycle in Min Mode Write M/Cycle in Min Mode
Floating
RD
Make corrections drawn in the blue colour for AD15 - AD0 & DT / R
Note: DEN in Min mode is active low
18
Microprocessor rithesh.kini@thadomal.org
8086
19
Microprocessor rithesh.kini@thadomal.org
8086 : Operating Modes
.
20
Microprocessor rithesh.kini@thadomal.org
8288: Bus Controller
Microprocessor rithesh.kini@thadomal.org
8288: Bus Controller + VCC
Operating
mode control
Inputs
GND
22
Microprocessor rithesh.kini@thadomal.org
8288: Bus Controller
CLK
23
Microprocessor rithesh.kini@thadomal.org
8086 – Machine Cycle
In Maximum Mode S0,S1, S2 lines are connected to 8288
S2 S1 S0 Bus Cycle/ Machine Cycle
0 0 0 INTA Cycle
0 0 1 I/O Read
0 1 1 Halt
1 0 0 Opcode Fetch
1 0 1 Memory Read
1 1 1 Inactive (Idle)
24
Microprocessor rithesh.kini@thadomal.org
8086 – Maximum Mode Maximum System Block Diagram
+ 5v
BHE
STB
R D BHE/S7 Address Bus
8282
A19- A16
A0 – A19
(3)
Crystal OE
C RES
X1
CLK CLK
C X2
F/C 8284 RESET RESET
Data Bus
READY READY
RDY1 8286
AEN1 8086 D0 – D15
RDY2
(2)
AEN2 QS0
QS1 T OE
NMI
INTR
RQ0/ GT0
Multi bus Control Signals
RQ1/ GT1
Wait ALE DT/R
DEN MRDC
State TEST MWTC
Generator MN/ MX S0
AMWC
RD
S1 8288
IORC
LOCK S2
IOWC
AIOWC
CLK INTA
25
Microprocessor rithesh.kini@thadomal.org
8086
Read M/Cycle in Max Mode Write M/Cycle in Max Mode
26
Microprocessor rithesh.kini@thadomal.org
8086
Self Study
27
Microprocessor rithesh.kini@thadomal.org