Professional Documents
Culture Documents
Pin Out - Inputs
Pin Out - Inputs
D0 Data
Bus
8086 D15
Control
signals
Address bus
BIU RD Discs
I/o
WR ROM RAM
Ports Video
Data Bus
ALU
CLK
Control
& Timing
EU
GND 1 40 VCC
AD14 2 39 AD15
AD13 3 38 A16/S3
AD12 4 37 A17/S4
AD11 5 36 A18/S5
AD10 6 37 A19/S6
AD9 7 35 BHE/S7
AD8 8 33 MN/MX
AD7 9 32 RD
AD6 10 8086 31 HOLD RQ/GT0
AD5 11 30 HLDA RQ/GT1
AD4 12 29 WR LOCK
AD3 13 28 M/IO S2
AD2 14 27 DT/R S1
AD1 15 26 DEN S0
AD0 16 25 ALE QS0
NMI 17 24 INTA QS1
INTR 18 23 TEST
CLK 19 22 READY
GND 20 21 RESET
Minimum & Maximum Modes of Operations
8088/8086 can be configured to work in any of the two modes
Minimum Mode
MN/MX’ –logic 1
Single processor in system
Smaller systems/ Cheaper
Maximum Mode
MN/MX’ – logic 0
Larger systems – more than one processor
e.g. – Numeric Data processor (8087) –co-processor
GND 1 40 VCC
AD14 2 39 AD15
AD13 3 38 A16/S3
AD12 4 37 A17/S4
AD11 5 36 A18/S5
AD10 6 37 A19/S6
AD9 7 35 BHE/S7
AD8 8 33 MN/MX
AD7 9 32 RD
AD6 10 8086 31 HOLD RQ/GT0
AD5 11 30 HLDA RQ/GT1
AD4 12 29 WR LOCK
AD3 13 28 M/IO S2
AD2 14 27 DT/R S1
AD1 15 26 DEN S0
AD0 16 25 ALE QS0
NMI 17 24 INTA QS1
INTR 18 23 TEST
CLK 19 22 READY
GND 20 21 RESET
Instruction Cycle
Machine Cycle
T states
MOV BX,[0114H]
8B1E 1401
CLK is crystal controlled clock sent to 8086 from
an external clock generator device such as 8284
One cycle of this clock is called a state
A state is measured as falling edge of one clock
pulse to falling edge of next clock pulse
Different versions of 8086 have maximum clock
frequencies of between 5MHz and 10MHz
The minimum time of one state will be between
100nS to 200nS
Basic operation such as
reading a byte from memory /port
writing a byte to a memory/port
called a machine cycle
FC 5 MHZ
CLK
CSYNC
2.5MHz
PCLK
X1
15 MHz
X2
+5V 8284
10K
e RESET
p RES
10µ
GND 1 40 VCC
AD14 2 39 AD15
AD13 3 38 A16/S3
AD12 4 37 A17/S4
AD11 5 36 A18/S5
AD10 6 37 A19/S6
AD9 7 35 BHE/S7
AD8 8 33 MN/MX
AD7 9 32 RD
AD6 10 8086 31 HOLD RQ/GT0
AD5 11 30 HLDA RQ/GT1
AD4 12 29 WR LOCK
AD3 13 28 M/IO S2
AD2 14 27 DT/R S1
AD1 15 26 DEN S0
AD0 16 25 ALE QS0
NMI 17 24 INTA QS1
INTR 18 23 TEST
CLK 19 22 READY
GND 20 21 RESET
8086
INSTRUCTION CYCLE,
MACHINE CYCLE
Machine Cycle
MEMR
◦ Opcode
◦ Data
MEMW
◦ Data
IOR
IOW
MOV AX,BX
8B C3
Fetch Instruction - 1 MEMR
1 Machine Cycle
ADD BX,[0110]
03 1E 10 01
Instruction Fetch
2 MEMR – 2 Machine Cycle
Instruction Execute
Read Data from DS:0110 – 1 MEMR
3 Machine Cycles
ADD [0110],BX
01 1E 10 01
Instruction Fetch
2 MEMR – 2 Machine Cycle
Instruction Execute
Read Data from DS:0110 – 1 MEMR
Store Result in DS:0110
4 Machine Cycles
CBW
98
1 MEMR
1 Machine Cycle
ADD AX,[BX]
03 07
1 MEMR Instruction Fetch
1 MEMR data from DS:[BX]
2 Machine cycles
8086
PIN OUT – ADDRESS BUS
GND 1 40 VCC
AD14 2 39 AD15
AD13 3 38 A16/S3
AD12 4 37 A17/S4
AD11 5 36 A18/S5
AD10 6 37 A19/S6
AD9 7 35 BHE/S7
AD8 8 33 MN/MX
AD7 9 32 RD
AD6 10 8086 31 HOLD RQ/GT0
AD5 11 30 HLDA RQ/GT1
AD4 12 29 WR LOCK
AD3 13 28 M/IO S2
AD2 14 27 DT/R S1
AD1 15 26 DEN S0
AD0 16 25 ALE QS0
NMI 17 24 INTA QS1
INTR 18 23 TEST
CLK 19 22 READY
GND 20 21 RESET
next
Minimum & Maximum Modes of Operations
8088/8086 can be configured to work in any of the two modes
Minimum Mode
MN/MX’ –logic 1
Single processor in system
Smaller systems/ Cheaper
Maximum Mode
MN/MX’ – logic 0
Larger systems – more than one processor
e.g. – Numeric Data processor (8087) –co-processor
ADDRESS & DATA being MULTIPLEXED on the
ADDRESS BUS
Octal Latch
G OE
ALE
back
Signal Address Status
AD16 /S3 AD16 Segment Acccess
AD17/S4 AD15
AD18/S5 AD14 Int Flag Sttaus
AD19/S6 AD13 0
BHE/S7 AD12 1
A16-A19
S6-S3 A16-A19
LS373
BHE’/S7 BHE’
G OE’
ALE
8086
AD8-AD15 LS373 A8-A15
G OE’
MN/MX’ 5V
M/IO’ IOW’
WR’
M/IO’ MEMR’
RD’
M/IO’ MEMW’
WR’
8086
PIN OUT – DATA BUS
GND 1 40 VCC
AD14 2 39 AD15
AD13 3 38 A16/S3
AD12 4 37 A17/S4
AD11 5 36 A18/S5
AD10 6 37 A19/S6
AD9 7 35 BHE/S7
AD8 8 33 MN/MX
AD7 9 32 RD
AD6 10 8086 31 HOLD RQ/GT0
AD5 11 30 HLDA RQ/GT1
AD4 12 29 WR LOCK
AD3 13 28 M/IO S2
AD2 14 27 DT/R S1
AD1 15 26 DEN S0
AD0 16 25 ALE QS0
NMI 17 24 INTA QS1
INTR 18 23 TEST
CLK 19 22 READY
GND 20 21 RESET
Buffered Systems
Buffering of control/data/addr busses
signals sufficiently strong to drive various IC
chips
Pulse leaves IC chip - drop in strength
Based on distance between the IC generating
the signal & the IC receiving the signal
More Pins a signal is connected (Fanout)
stronger the signal must be
Bus buffering Boosting the signals
traveling on the bus
Unidirectional Buffer - 74LS244
Bidirectional Buffer - 74LS245
A Bus B Bus
Outputs Outputs
0
A Bus B Bus
E DIR
0 0
1
A Bus B Bus
Inputs/Outputs Inputs/Outputs
E DIR
DEN DT/R
During write cycle 8086 asserts DT/R’ signal high to put
the buffers in the transmit mode
back
System Bus of 8086(Data)
8086
AD8-AD15 LS245 D8-D15
DT/R’ DIR OE’
DEN’
MN/MX’ 5V
8086
SYSTEM BUS
GND 1 40 VCC
AD14 2 39 AD15
AD13 3 38 A16/S3
AD12 4 37 A17/S4
AD11 5 36 A18/S5
AD10 6 37 A19/S6
AD9 7 35 BHE/S7
AD8 8 33 MN/MX
AD7 9 32 RD
AD6 10 8086 31 HOLD RQ/GT0
AD5 11 30 HLDA RQ/GT1
AD4 12 29 WR LOCK
AD3 13 28 M/IO S2
AD2 14 27 DT/R S1
AD1 15 26 DEN S0
AD0 16 25 ALE QS0
NMI 17 24 INTA QS1
INTR 18 23 TEST
CLK 19 22 READY
GND 20 21 RESET
Signals of 8086 used during a bus transfer
AD15 – AD0 – Multiplexed Address & Data
A19/S6 – A16/S3 – Higher order Address / Status
M/IO’ – Indicates whether access is to
memory or I/O Device
RD’ - Read Operation from Memory/IO
WR’ - Write Operation to Memory/IO
ALE - When set – Multiplexed AD0 – AD15
has address
DT/R’ - 8086 is transmitting/receiving data
DEN’ - Enable data buffers connected to
8086
A16-A19
S6-S3 A16-A19
LS373
BHE’/S7 BHE’
G OE’
ALE
8086
AD8-AD15 LS373 A8-A15
G OE’
MN/MX’ 5V
8086
AD8-AD15 LS245 D8-D15
DT/R’ DIR OE’
DEN’
AD0-AD7 D0-D7
LS245
DIR OE’
MN/MX’ 5V
System Bus of 8086(Data + Control)
8086
BUS OPERATIONS
Signals of 8086 used during a bus transfer
AD15 – AD0 – Multiplexed Address & Data
A19/S6 – A16/S3 – Higher order Address / Status
M/IO’ – Indicates whether access is to
memory or I/O Device
RD’ - Read Operation from Memory/IO
WR’ - Write Operation to Memory/IO
ALE - When set – Multiplexed AD0 –
AD15 has address
DT/R’ - 8086 is transmitting/receiving
data
DEN’ - Enable data buffers connected to
8086
A16-A19
S6-S3 A16-A19
LS373
BHE’/S7 BHE’
G OE’
ALE
8086
AD8-AD15 LS373 A8-A15
G OE’
MN/MX’ 5V
8086
AD8-AD15 LS245 D8-D15
DT/R’ DIR OE’
DEN’
MN/MX’ 5V
ALE
DT/R’
RD’
DEN’
200 ns
800 ns
ALE
DT/R’
RD’
DEN’
200 ns
1000 ns
ALE
DT/R’
WR’
DEN’
200 ns
800 ns
Non-Maskable
◦ NMI Input
GND 1 40 VCC
AD14 2 39 AD15
AD13 3 38 A16/S3
AD12 4 37 A17/S4
AD11 5 36 A18/S5
AD10 6 37 A19/S6
AD9 7 35 BHE/S7
AD8 8 33 MN/MX
AD7 9 32 RD
AD6 10 8086 31 HOLD RQ/GT0
AD5 11 30 HLDA RQ/GT1
AD4 12 29 WR LOCK
AD3 13 28 M/IO S2
AD2 14 27 DT/R S1
AD1 15 26 DEN S0
AD0 16 25 ALE QS0
NMI 17 24 INTA QS1
INTR 18 23 TEST
CLK 19 22 READY
GND 20 21 RESET
DMA
HOLD
◦ Input
HLDA
◦ Output
8086
MAXIMUM MODE
GND 1 40 VCC
AD14 2 39 AD15
AD13 3 38 A16/S3
AD12 4 37 A17/S4
AD11 5 36 A18/S5
AD10 6 37 A19/S6
AD9 7 35 BHE/S7
AD8 8 33 MN/MX
AD7 9 32 RD
AD6 10 8086 31 HOLD RQ/GT0
AD5 11 30 HLDA RQ/GT1
AD4 12 29 WR LOCK
AD3 13 28 M/IO S2
AD2 14 27 DT/R S1
AD1 15 26 DEN S0
AD0 16 25 ALE QS0
NMI 17 24 INTA QS1
INTR 18 23 TEST
CLK 19 22 READY
GND 20 21 RESET
next
8086 8087
S2’ S1’ S0’ Function
0 0 0 INTA
0 0 1 IOR
0 1 0 IOW
0 1 1 Halt
1 0 0 Opcode fetch
1 0 1 MEMR
1 1 0 MEMW
1 1 1 Passive
CLK
AEN’
CEN
IOB