Lecture #06, Microprocessor - Pins
Lecture #06, Microprocessor - Pins
Clock Signal:
Pin-19 → Clock signal.
5MHz, 8MHz or 10MHz for different versions.
A16/S3—A19/S6 Signals:
Time multiplexed signals.
A19–A16 → address lines during T1 for memory operation.
remain low during I/O operations.
carry status signals during T2–T4.
The bus high enable pin is used in the 8086 to enable the most-
significant data bus bits (D15–D8) during a read or a write operation. The
state of S7 is always a logic 1.
Reset Pin:
Reset signal → applied after 50μS of ‘power on’
active for at least 4 CLK cycles.
execution starts after Reset returns to low value.
During resetting →
Processor immediately terminate its present activity,
All internal register contents = 0000H,
CS = F000H and IP = FFF0H.
execution starts from physical address FFFF0H.
Pin Diagram of 8086 Microprocessor
INTR: A maskable interrupt is an interrupt that can be ignored or disabled by setting a particular bit (IF) in the CPU.
Interrupt request signal →
sampled during last clock cycle of each instruction.
NMI: A non-maskable interrupt is an interrupt that cannot be ignored or disabled. It always gets the CPU’s attention no matter what.
Non-maskable interrupt → edge triggered input,
causes interrupt request to microprocessor.
TEST Signal:
BUSY output pin of 8087 NDP is connected to TEST input pin.
8087 is busy → pulls TEST signal high,
8086 is made to WAIT
8087 completes its instruction executions,
BUSY signal goes low = TEST input becomes low
8086 goes for execution of its program.
Pin Diagram of 8086 Microprocessor
MN/MX:
High = works in minimum mode;
Low = works in maximum mode.
ALE:
Address latch enable →
positive pulse = availability of valid address on address/data lines.
RD:
signal for read operation from memory or input device.
WR:
write data into memory or output device.
HOLD:
signal to processor
Acknowledges
external devices request to access address/data buses.
HLDA:
Hold Acknowledgement
acknowledges HOLD signal.
Pin Diagram of 8086 Microprocessor
QS1 and QS0:
Queue status signals
provide status of instruction queue.
S2 , S1 and S0 Pins:
output status signals in MAX mode.
indicates type of operation carried out by processor.
active during T4 of previous cycle and
T1 and T2 of current cycle.
passive state during T3 of current bus cycle.
Pin Diagram of 8086 Microprocessor
LOCK Signal:
activated by LOCK prefix instruction
remains active until completion of next instruction.
LOCK = low → all interrupts get masked
HOLD request is not granted.
other devices should not issue HOLD signal to 8086.