Pin Diagram of 8086
Figure shows 40 pin lay-out for 8086 Microprocessor. The designers of 8086 were able to reduce number of pins on the IC (Integrated circuit) of 8086 to 40, because they have used a concept called as "Time Multiplexing" for designing the IC. Time multiplexing means we can use same pin/pins of 8086 to perform two different functions depending upon time.
The 8086 Microprocessor can work in two operating modes i.e. Minimum and Maximum. Functions of pin number 24 to 31 are different in minimum and maximum mode. The functions of remaining pins are same for minimum and maximum mode.
A. Pin definitions common to Minimum and Maximum
Mode
S4 S3
Segment Accessed
0 0
Extra segment
0 1
Stack segment
1 0
Code segment
1 1
Data segment
5. Interrupt (INTR): This is maskable interrupt of 8086. This interrupt can be enabled or disabled by using interrupt flag (IF) in flag register. Two instructions STI and CLI are used to enable and disable this input pin.
7. Reset: This is RESET input of 8086 Microprocessor. Whenever 8086 is reset it stops executing current program and fetches the first instruction from memory address.
8. Ready: This input pin is used by 8086 to perform data
transfer with slow memory or I/O devices. Using this pin, a slow memory or I/O
device informs 8086 whether it is ready to perform data transfer or not.
9. TEST: This input signal is checked by 8086 when it
executes "Wait" instruction. It is generally connected to numeric
data processor (Math Coprocessor) 8087. Using this input pin 8086 confirms
whether 8087 has completed the operation or not.
10. MN/MX: This input pin determines the mode of operation
for 8086 Microprocessor. When this pin is connected to Vcc (High) then 8086
operate in minimum mode. When the same pin is connected to ground (Low) 8086
operate in maximum mode.
B. Pin definitions for Minimum Mode
2. Address latch enable (ALE): This control signal is
outputted by 8086 in T1 state to enable address latches connected to address
bus. The address latches are required to demultiplex (separate) address and
data lines of 8086.
4. Data Transmit/ Receive (DT/R): This control signal is outputted by 8086 in T1 state to tell the direction of data flow to bidirectional buffers. If this pin is made high by 8086 then it is performing write (Transmit) operation. If this pin is made low by 8086 then it is performing read (Receive) operation.
5. M/TO: This control signal is outputted by 8086 in T1
state to distinguish between memory cycle and I/O cycle. If this pin is made
high by 8086 then it is working with memory. If this pin is made low by 8086
then it is working with I/O devices.
C. Pin definitions for Maximum Mode
1. S0, S1, S2 (Status Bits): These are the status bit signals connected to 8288 bus controller. By decoding these 3 bits 8288 understands what type of instruction 8086 is executing. Then 8288 bus controller generates required control signals for memory and I/O devices. These 3 bits are decoded as follows
S2 S1 S0 Types of operation
0 0
0 Interrupt
Acknowledge
0 0
1 Read I/O port
0 1
0 Write I/O port
0 1 1 Halt
1 0
0 Instruction fetch
1 0
1 Read memory
1 1
1 Write memory
1 1
0 Passive
2. QS0 and QS1 (Queue status): These two bits are used by
8086 to show the status of instruction queue. These 2 bits are often used by
8087 coprocessor to monitor the internal queue of 8086. These 2 bits are
decoded as follows
0 0 : No operation
0 1 : The first byte of current
instruction is being executed
1 1 : The subsequent byte of current
instruction is being executed.
1 0 : Queue is empty
0 Comments