IT Unit-2 8086 System Timing & Interrupts
IT Unit-2 8086 System Timing & Interrupts
Each step takes one click of the System clock: one clock cycle.
Instruction Cycle:
Pin Description
S0-S2 Bus Control, INTA, I/O read, I/O write, HALT, code
access, memory read, memory write, release bus.
BHE:
Reset:
Ready:
DEN:
When CPU asks for a byte from memory, memory is expected to deliver
within 4 bus cycles. If memory is too slow, it negates Ready and keeps it
negated until the byte is put on the bus.
Output enable for the Data Transceiver.
DT/R:
Fetching an instruction:
Minimum Mode:
MN/MX = 1
Maximum Mode:
MN/MX = 0
The S0, S1 and S2 bits are set just prior to beginning of bus cycle.
Then the 8288 will output a pulse on its ALE and apply appropriate
signal to DT/R during T1
In T2 8288 will set DEN = 1 , thus it enables Tran receivers and for
input it will activate either MRDC or IORC.
For output it will activate either AMWC or AIOWC is activated from
and MWTC or IOWC is activated from T3 to T4.
When a request is detected the processor issues a grant pulse over the RQ/G
Immediately during T4 of current or T1 of next state
INTERRUPTS
And Interrupt
Responses
INTRODUCTION
Sources of Interrupts
Hardware Interrupt:
Software Interrupt:
Error Condition:
8086 Response to
Interrupt
It is a Non-Maskable Interrupt.
Type-2 Interrupt cannot be disabled by
Program Instructions.
When a low to high transition is received on
NMI pin,Type-2 Interrupt is Generated.
It gets CS of ISP from 0000AH and IP 00008H.
Ex: When there is a power failure, an interrupt
is sent to NMI pin to save the program data.
Software Interrupts
INTR Interrupts
Interrupt Instructions
Priority of Interrupts