Past exam question: 2082 Chaitra (Regular), Q10(b)
Open in the Padhaiko appQuestion
Explain different interrupt signals of 8085 microprocessor and how are they used.
Solution
Hierarchy of 8085 Interrupt Signals: The Intel 8085 possesses five hardware interrupt input pins arranged in strict descending priority order:
- TRAP (Highest Priority)
- RST 7.5
- RST 6.5
- RST 5.5
- INTR (Lowest Priority)
Detailed Explanation of Each Interrupt Signal:
- TRAP:
- Priority: Highest (1).
- Maskability: Non-maskable (cannot be disabled by
DIinstruction orSIM). - Vector Address: Hardwired to
0024H(4.5 * 8). - Triggering: Edge-and-level sensitive (must have a positive transition and remain HIGH until sampled).
- Usage: Reserved for catastrophic events requiring immediate attention, such as power failure detection or critical hardware malfunction.
- RST 7.5:
- Priority: Second highest (2).
- Maskability: Maskable via
SIMinstruction (bit D0) and disabled byDI. - Vector Address: Hardwired to
003CH(7.5 * 8). - Triggering: Positive edge-sensitive only (latched internally by a flip-flop).
- Usage: Used for high-priority asynchronous external events that produce narrow pulse requests.
- RST 6.5:
- Priority: Third (3).
- Maskability: Maskable via
SIMinstruction (bit D1) and disabled byDI. - Vector Address: Hardwired to
0034H(6.5 * 8). - Triggering: High level-sensitive (must remain HIGH until recognized).
- Usage: Used for general peripheral device interfacing (e.g. data arrival from ADC).
- RST 5.5:
- Priority: Fourth (4).
- Maskability: Maskable via
SIMinstruction (bit D2) and disabled byDI. - Vector Address: Hardwired to
002CH(5.5 * 8). - Triggering: High level-sensitive.
- Usage: Used for lower-priority external peripheral devices.
- INTR (Interrupt Request):
- Priority: Lowest (5).
- Maskability: Maskable via
EI/DIinstructions. - Vector Address: Non-vectored. The vector address is supplied externally. During the interrupt acknowledge machine cycle, the 8085 asserts active-low
INTA_bar, and the external device must place a 1-byte instruction (such asRST 0toRST 7) or 3-byteCALLinstruction onto the data bus. - Triggering: High level-sensitive.
- Usage: General-purpose multi-device interfacing using external priority interrupt controllers (such as 8259A).
Summary Comparison Table:
| Interrupt | Priority | Vector Address | Maskable? | Triggering Mechanism |
|---|---|---|---|---|
| TRAP | 1 (Highest) | 0024H | Non-maskable | Edge and Level |
| RST 7.5 | 2 | 003CH | Maskable (SIM D0) | Positive Edge (latched) |
| RST 6.5 | 3 | 0034H | Maskable (SIM D1) | High Level |
| RST 5.5 | 4 | 002CH | Maskable (SIM D2) | High Level |
| INTR | 5 (Lowest) | Non-vectored | Maskable (EI/DI) | High Level |
Answer:
The 8085 has five hardware interrupts in descending priority: TRAP (non-maskable, edge/level, 0024H), RST 7.5 (maskable, edge-sensitive, 003CH), RST 6.5 (maskable, level, 0034H), RST 5.5 (maskable, level, 002CH), and INTR (non-vectored, level, maskable via EI/DI).