You are on page 1of 22

Microprocessor & Interfacing

(8086 family microprocessors)

Jimmy Mathew
Asst. Professor Sr.,
School of Computing Science & Engineering (SCSE),
VIT University, Vellore, India
Email: jimmym@vit.ac.in / Room: SJT 313 A 08
8086 pin details

MP & I/F Module 1 JMW VIT-U 2


8086 pin details

MP & I/F Module 1 JMW VIT-U 3


8086 pin details

Available clock rates: 5 MHz, 8 MHz, 10 MHz


40 pins


Ceramic Dual-In-Line package (CERDIP)


Two modes of operations:

– 1. Minimum mode (Uniprocessor mode)

– 2. Maximum mode (Multiprocessor mode)

MP & I/F Module 1 JMW VIT-U 4


8086 pin details

Signal categories :

– 1. Common signals (in MIN & MAX modes):

• GND, AD15-AD0, A19/S6 - A16/S3, NMI, INTR, CLK, RESET,


READY, TEST, RD, MN/MX, BHE/S7, VCC

– 2. Special signals in MIN mode:

• INTA, ALE, DEN, DT/R, M/IO, WR, HLDA, HOLD

– 3. Special signals in MAX mode:

• QS1-QS0, S2-S0, LOCK, RQ/GT1 - RQ/GT0

MP & I/F Module 1 JMW VIT-U 5


8086 pin details

AD15 - AD0

– Address lines / Data lines

– Time multiplexed


A19/S6 - A16/S3

– Address lines / Status lines

– Time multiplexed

MP & I/F Module 1 JMW VIT-U 6


8086 pin details
– S4:S3 – Indicate current active segments (E:S:C:D)

– S5 – Shows status of interrupt enable flag

– S6 – Always logical low

MP & I/F Module 1 JMW VIT-U 7


8086 pin details
•BHE/S7

– BHE – Bus High Enable (Active low)

– Indicates transfer of data over D15 – D8 lines

– Used to select odd address memory or peripherals

– S7 – Not used

MP & I/F Module 1 JMW VIT-U 8


8086 pin details
•RD

– Read signal (Active low)

– It indicates peripherals that the processor is performing


memory or I/O read operations

MP & I/F Module 1 JMW VIT-U 9


8086 pin details

READY

– Used as acknowledgement from slow devices

– Indicates completion of data transfer


INTR

– Level triggered interrupt request

– Sampled at every last clock of each instruction

– In case of any interrupts, the processor enters interrupt


acknowledge cycle

– Enabled or disabled by interrupt flag (IF)


MP & I/F Module 1 JMW VIT-U 10
8086 pin details

TEST

– Used after WAIT instruction

– The processor waits until the TEST signal goes low

– When TEST signal goes low, the execution continues

– Active low


NMI

– Non-Maskable Interrupt, edge triggered

– Low to High transition initiates interrupt

MP & I/F Module 1 JMW VIT-U 11


8086 pin details

RESET

– Stops current execution of processor abruptly

– Forces processor to restart the processing from first


address onwards

– Active high, must be active for at least 4 clock cycles

– Restarts the execution when RESET line returns low


CLK

– Clock input (5 MHz, 8 MHz, 10 MHz)

– Provides basic timings for processor operations


MP & I/F Module 1 JMW VIT-U 12
8086 pin details

VCC

– Voltage supply, +5V DC


GND

– Ground, 0V DC


MN/MX

– The logic level at this pin decides whether the processor


is to operate in either minimum (single processor) mode
or maximum (multiprocessor) mode

MP & I/F Module 1 JMW VIT-U 13


8086 pin details

M/IO

– Memory operation or I/O operation, output


INTA

– Interrupt acknowledge, output

– When it goes low, it indicates that


the processor has accepted the interrupt


ALE

– Address Latch Enable, output

– Informs a valid address is present in address/data lines


MP & I/F Module 1 JMW VIT-U 14
8086 pin details

DT/R

– Indicates data transmit or receive, output

– Direction of data flow

– High – Processor transmits data out

– Low – Processor receives data


DEN

– Data enable, out

– Indicates valid data available at data lines

– To enable or disable bidirectional buffers


MP & I/F Module 1 JMW VIT-U 15
8086 pin details

HOLD

– Hold request

– When high, indicates microprocessor that another master


is requesting bus access


HLDA

– Hold acknowledgement

– The processor is given bus access to the requested master

– The processor halts its operations

– The processor proceeds when HOLD becomes low


MP & I/F Module 1 JMW VIT-U 16
8086 pin details

S2, S1, S0 (MAX mode)

– Status lines, indicate current status of processor

• [000] - Interrupt acknowledge

• [001] - Read I/O port

• [010] - Write I/O port

• [011] - Halt

• [100] - Code access

• [101] - Read memory

• [110] - Write memory

• [111] - Passive
MP & I/F Module 1 JMW VIT-U 17
8086 pin details

LOCK

– When low, indicates that other masters will be prevented


from requesting a bus access

– Used with LOCK instruction

– Used when processor executes critical instructions

– Unlocks after completion of instructions

MP & I/F Module 1 JMW VIT-U 18


8086 pin details

QS1 – QS0

– Queue status lines, provides information about status of


code pre-fetch queue

• [00] - No operation

• [01] - First byte of opcode from queue

• [10] - Empty queue

• [11] - Subsequent byte from the queue

MP & I/F Module 1 JMW VIT-U 19


8086 pin details

MP & I/F Module 1 JMW VIT-U 20


8086 pin details

RQ/GT0 - RQ/GT1

– Request / Grant lines

– Used by other bus masters to force the processor to


release bus access at the end of the current bus cycle

– Used in maximum mode

MP & I/F Module 1 JMW VIT-U 21


8086 pin details

MP & I/F Module 1 JMW VIT-U 22

You might also like