8086 Complete Module
8086 Complete Module
Vcc
16 - bit Address/Data Bus
CLK
RESET
A16 - A19 / S3 - S6
READY
4 - bit Address/Status Bus
TEST
BHE / S7
NMI
MN / MX
(MAX INTR 8086 (MAX
MODE) RD MODE)
(QS1)/INTA WR/(LOCK)
SUPPLY:
Supply Voltage: Single +5V DC +/- 10%
Ground: System Ground (Two pins)
CLOCK:
Duty Cycle: 33%
In 8088 CPU:
Length of internal FIFO queue is 4-bytes.
AD8 to AD15 changes to A8 to A15 as only 8-bit data bus is there.
Signal BHE/S7 changes to SSO, which is logically equivalent to signal S0.
The signal is always HIGH when 8088 is operating in maximum mode.
M/IO becomes IO/M.
Other pin functions and definitions remain same.
PIN FUNCTION
Vcc +5V +/- 10%
Gnd Ground pin connected to system ground. Two ground pins
Clock input signal with 33% duty cycle. It Determines the speed of
CLK
processor.
It causes the processor to reset itself if the RESET is high atleast for 4
clock periods.
RESET
At reset processor sets CS = FFFFh and clear the PSW, IP, DS, ES, SS
and instruction queue (IPQ).
Address/Data multiplexed bus. The address comes first and can be
AD0-AD15
latched externally. Then bus can be made free to carry the data.
Address/Status bus multiplexed bus. The upper 4-bit address comes
first and then come the status signals.
Status S6 always LOW i.e. S6=0 always.
A16-A19 /
Status S5 gives current status of IF flag i.e. S5=IF always.
S6 –S3
Status S4 & S3 gives the information about current segment (register)
being used as shown below. The S4 & S3 bits may also be used as A21
& A20 to address four separate 1MB-memory banks.
Status Signals
Meaning
S4 S3
0 0 Extra Segment
0 1 Stack Segment
1 0 Code or No Segment
1 1 Data Segment
Bus High Enable. A LOW on this pin enables the most significant
BHE/S7 data bus (D8-D15) during a read or write operation. After BHE
information, comes the status S7 which always remains LOW.
Read signal. A LOW on this signal instructs the selected I/O or
RD
memory device to give its data content onto the data bus.
Slow peripheral or memory devices use it. A LOW on this input tells
the processor that the device is not yet ready for data transfer and
READY
thus causing processor to enter into wait states. A HIGH on this
input continues normal operation of 8086.
Interrupt Request. A level triggered interrupt. External hardware
INTR can used this pin to interrupt normal operation of processor. This
signal is recognized if and only if flag IF=1 in flag register.
Non Maskable Interrupt. A positive edge triggered interrupt.
NMI Always served by the 8086 irrespective of status of IF flag. Thus
always used for critical conditions.
Test input is sampled by WAIT instruction of 8086. If TEST=1 the
WAIT instruction waits for this signal to become 0. As soon as it
TEST
becomes 0 processor works further. If it is already 0 WAIT
instruction works as NOP.
Minimum/Maximum Mode. A LOW on this signal configures the
MN/MX 8086 in maximum mode and a HIGH configures it to minimum mode
of operation.
20 10
Vcc GND
3 1D 1Q|2
D
5
2D CLK 2Q 6
3D 3Q 9
4D 40
13 12
5D 74LS373 5Q 15
14
6D 6Q 16
17
7D 7Q 19
18
8D 80
G
11 1
Enable Output
Control
Function Table
Output Enable
Control G D Output
L H H H
L H
L
H
L
X
X
X
Qo
BHE
BHES7 OE A19
Ajw/so Aj8
AN/SS '373 Aj7
As4 A6
8086 As
Aj4
A3
A12
Ai
Aj0 Address bus
Ag
Ag
A6
As
A4
As
A2
Ai
Ao
ALE G G
"373 OE '373 OE
AD1s Dis
AD14 D4
AD13
AD12
AD Di2
ADjo
Di
AD, Dio
ADg
Dg
AD, D& Data bus
AD6 D
ADs
AD, " D,
AD, D4
Da
AD,
AD, D,
ADo D,
M/IO Do
RD M/O
MN/MX WR RD Control bus
WR
+SV
AD0 - AD15
Vcc
16 - bit Address/Data Bus
CLK
RESET
A16 - A19 / S3 - S6
READY
4 - bit Address/Status Bus
TEST
BHE / S7
NMI
MN / MX
(MAX INTR 8086 (MAX
MODE) RD MODE)
(QS1)/INTA WR/(LOCK)
SUPPLY:
Supply Voltage: Single +5V DC +/- 10%
Ground: System Ground (Two pins)
CLOCK:
Duty Cycle: 33%
In 8088 CPU:
Length of internal FIFO queue is 4-bytes.
AD8 to AD15 changes to A8 to A15 as only 8-bit data bus is there.
Signal BHE/S7 changes to SSO, which is logically equivalent to signal S0.
The signal is always HIGH when 8088 is operating in maximum mode.
M/IO becomes IO/M.
Other pin functions and definitions remain same.
VCC 1G
20 1
1 A1 1Y1
2 18
1 A2 1Y2
4 16
1 A3 1Y3
6 14
Function Table
1 A4 1Y4 1A1 1Y1
8 12
1G 2G Operation
1A2 1Y2
2 A1 2Y1 All O/Ps Enabled, i.e. I/Ps 1A i
11 9 1A3 1Y3 0 0 appears at O/Ps 1Yi & I/Ps 2A i
2 A2 2Y2 appears at O/Ps 2Yi.
13 7 1A4 74LS244 1Y4
O/Ps 1Yi Enabled, i.e. I/Ps 1A i
2A1
OCTAL 2Y1
0 1 appears at O/Ps 1Yi & O/Ps 2Yi
2 A3 2Y3
15 5 BUFFER in HIGH-Z State.
2A2 2Y2 O/Ps 2Yi Enabled, i.e. I/Ps 2A i
2 A4 2Y4 1 0
17 3 2A3 2Y3 appears at O/Ps 2Yi & O/Ps 1Yi
in HIGH-Z State.
2A4 2Y4
10 19 All O/Ps in HIGH-Z State.
1 1 OR
Gnd 2G 1G 2G I/P Isolated from O/P.
(a) Internal Logic Diagram (b) Functional Diagram (c) Function Table
VCC GND
A1 B1
20 10
A1 B1 A2 B2
2 18
A3 B3
A2 B2
3 17 A4 B4
74LS245
A5 Transceiver B5
A3 B3
4 16
A6 B6
A4 B4
5 15 A7 B7
A5 B5
6 14 A8 B8
A6 B6
7 13 DIR G
A7 B7
8 12
(b) Functional Diagram
A8 B8
9 11
Function Table
Direction
Enable Operation
Control
G DIR
0 0 Data flow
from B to A.
1 19 0 1 Data flow
from A to B.
DIR G
Direction Enable
1 X Isolation
Control
(a) Logic Diagram
(c) Function Table
74LS245 TRANCEIVERS
1
M/IO Buffered
M/IO RD control
RD WR bus
'244
WR
BHE
BHE/S7 Aj9
A*
A|NSS '373
A1
As
8086 Aes G OE As
A4
A?
A Buffered
Ao address
Ay bus
Ax
A1
A6
As
As
A
A
A
Ao
ALE
'373 OE '373 OE
AD1s Dis
ADi4
ADi
Di+
Di
ADi2 '245 Di2
AD| D
ADi0
AD,
Do
Dy
ADg G DIR Dx
AD,
AD,
AD, D6
AD, Ds
AD, '245 DA
AD, Di
AD, D.
- D,
ADo
DIR Do
DEN
DT/R
A0 A1 A2 A3 B0 B1 B2 B3
SEL (B)
Y0 Y1 Y2 Y3
Function Table
1 SELECT Vcc 16
Select
Operation
SEL (B) 2 A3 STROBE 15
RESET
A16 - A19 / S3 - S6
READY
4 - bit Address/Status Bus
TEST
BHE / S7
NMI
MN / MX
(MAX INTR 8086 (MAX
MODE) RD MODE)
(QS1)/INTA WR/(LOCK)
SUPPLY:
Supply Voltage: Single +5V DC +/- 10%
Ground: System Ground (Two pins)
CLOCK:
Duty Cycle: 33%
In 8088 CPU:
Length of internal FIFO queue is 4-bytes.
AD8 to AD15 changes to A8 to A15 as only 8-bit data bus is there.
Signal BHE/S7 changes to SSO, which is logically equivalent to signal S0.
The signal is always HIGH when 8088 is operating in maximum mode.
M/IO becomes IO/M.
Other pin functions and definitions remain same.
AD0 – AD7
Vcc 8 - bit Address/Data Bus
CLK A8 - A15
RESET 8 - bit Address Bus
SUPPLY:
Supply Voltage: Single +5V DC +/- 10%
Ground: System Ground (Two pins)
CLOCK:
Duty Cycle: 33%
OE A19
Aj9/s6
A18/s5 A18
Aj1S4 '373 Aj7
Aj6/53 A6
8088
A1s As
A4 A4
A3
A13 Buffered
A2 '244
A12
A| address
Al Ajo bus
A1o
Ag
Ag
As OE
A6
A4
A2
A
Ao
G '373 OE
ALE
A1 B1 D,
AD, A6 B6 D6
AD6 Ds
AD, As Bs Buffered
A4 B4 D,
ADA "245 data
Ag B D, bus
AD, D2
AD,
Az B2
A BË D,
AD, Ao Do
ADo Bo
G DIR
DTX DEN
PIN FUNCTION
Vcc +5V +/- 10%
Gnd Ground pin connected to system ground. Two ground pins
Clock input signal with 33% duty cycle. It Determines the speed of
CLK
processor.
It causes the processor to reset itself if the RESET is high atleast for 4
clock periods.
RESET
At reset processor sets CS = FFFFh and clear the PSW, IP, DS, ES, SS
and instruction queue (IPQ).
Address/Data multiplexed bus. The address comes first and can be
AD0-AD15
latched externally. Then bus can be made free to carry the data.
Address/Status bus multiplexed bus. The upper 4-bit address comes
first and then come the status signals.
Status S6 always LOW i.e. S6=0 always.
A16-A19 /
Status S5 gives current status of IF flag i.e. S 5=IF always.
S6 –S3
Status S4 & S3 gives the information about current segment (register)
being used as shown below. The S 4 & S3 bits may also be used as A21
& A20 to address four separate 1MB-memory banks.
Status Signals
Meaning
S4 S3
0 0 Extra Segment
0 1 Stack Segment
1 0 Code or No Segment
1 1 Data Segment
Bus High Enable. A LOW on this pin enables the most significant
BHE/S7 data bus (D8-D15) during a read or write operation. After BHE
information, comes the status S7 which always remains LOW.
Read signal. A LOW on this signal instructs the selected I/O or
RD
memory device to give its data content onto the data bus.
Slow peripheral or memory devices use it. A LOW on this input tells
the processor that the device is not yet ready for data transfer and
READY
thus causing processor to enter into wait states. A HIGH on this
input continues normal operation of 8086.
Interrupt Request. A level triggered interrupt. External hardware
INTR can used this pin to interrupt normal operation of processor. This
signal is recognized if and only if flag IF=1 in flag register.
Non Maskable Interrupt. A positive edge triggered interrupt.
NMI Always served by the 8086 irrespective of status of IF flag. Thus
always used for critical conditions.
Test input is sampled by WAIT instruction of 8086. If TEST=1 the
WAIT instruction waits for this signal to become 0. As soon as it
TEST
becomes 0 processor works further. If it is already 0 WAIT
instruction works as NOP.
Minimum/Maximum Mode. A LOW on this signal configures the
MN/MX 8086 in maximum mode and a HIGH configures it to minimum mode
of operation.
There are total 8-pins which have dual meaning and have different definitions in
minimum and maximum mode of operation. The maximum mode pin names are
indicated within the brackets in the logic diagram.
Status Bits. These bits indicate the function of current bus cycle. These
S2,S1,S0 pins are decoded externally by the 8288 bus controller. The below table
summarizes the function encoded on these bits.
STATUS BITS
MEANING
S2 S1 S0
0 0 0 Interrupt Acknowledgement
0 0 1 I/O Read
0 1 0 I/O Write
0 1 1 HALT
1 0 0 Opcode Fetch
1 0 1 Memory Read
1 1 0 Memory Write
1 1 1 Passive or Inactive
10K
RESET RESET
10
RES
uF
SYSTEM
RESET
CLK AMWC
Control C
Inputs
AEN 8288 AIOWC
CEN INTA
IOB DEN Addr Latch,
ALE Transceiver
Power Vcc
DT/R Controls
Supply
Gnd
MCE/PDEN
Logic Diagram 8288 BUS CONTROLLER
PIN FUNCTION
POWER SUPPLY
Vcc +5V +/- 10%
Gnd Ground pin connected to system ground.
STATU INPUTS
S0, S1, S2 Status Inputs. Connected to corresponding status pins of 8086.
CONTROL INPUTS
CLK Clock Input. It must be connected to CLK output pin of 8284.
Address Enable. A low on this input causes the 8288 to enable memory
AEN
control signals.
Control Enable. A high on this input enables the command output
CEN
signals of 8288.
I/O Bus Mode. A high on this input selects I/O bus mode while a low
IOB
selects system bus mode.
COMMAND SIGNALS
MRDC Memory Read Control Signal.
MWTC Memory Write Control Signal.
IORC I/O Read Control Signal.
IOWC I/O Write Control Signal.
Advance Memory Write Control Signal. Same as MWTC signal but the
AMWC
signal is activated one clock pulse earlier than the normal write.
Advance I/O Write Control Signal. Same as IOWC signal but the signal is
AIOWC
activated one clock pulse earlier than the normal write.
INTA Interrupt Acknowledge. Same as INTA of 8086
DT/R Same as DT/R of 8086.
ALE Same as ALE of 8086.
DEN Same as DEN of 8086. Note that it is active high signal in 8288.
Master Cascade/Peripheral Data. It selects master cascade operation
MCE/PDEN (MCE) for 8259 interrupt controller if IOB=0 and if IOB=1 it enables the
IO bus transceivers (PDEN) which is used in multibus configuration.