PadhaikoAll subjects

Past exam question: 2082 Chaitra (Regular), Q10(b)

Microprocessors · 5 marks

Open in the Padhaiko app

Topic: Interrupts, Polling, Types & 8085 Interrupt Processing

Question

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:

  1. TRAP (Highest Priority)
  2. RST 7.5
  3. RST 6.5
  4. RST 5.5
  5. INTR (Lowest Priority)

Detailed Explanation of Each Interrupt Signal:

  1. TRAP:
    • Priority: Highest (1).
    • Maskability: Non-maskable (cannot be disabled by DI instruction or SIM).
    • 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.
  2. RST 7.5:
    • Priority: Second highest (2).
    • Maskability: Maskable via SIM instruction (bit D0) and disabled by DI.
    • 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.
  3. RST 6.5:
    • Priority: Third (3).
    • Maskability: Maskable via SIM instruction (bit D1) and disabled by DI.
    • 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).
  4. RST 5.5:
    • Priority: Fourth (4).
    • Maskability: Maskable via SIM instruction (bit D2) and disabled by DI.
    • Vector Address: Hardwired to 002CH (5.5 * 8).
    • Triggering: High level-sensitive.
    • Usage: Used for lower-priority external peripheral devices.
  5. INTR (Interrupt Request):
    • Priority: Lowest (5).
    • Maskability: Maskable via EI/DI instructions.
    • 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 as RST 0 to RST 7) or 3-byte CALL instruction 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:

InterruptPriorityVector AddressMaskable?Triggering Mechanism
TRAP1 (Highest)0024HNon-maskableEdge and Level
RST 7.52003CHMaskable (SIM D0)Positive Edge (latched)
RST 6.530034HMaskable (SIM D1)High Level
RST 5.54002CHMaskable (SIM D2)High Level
INTR5 (Lowest)Non-vectoredMaskable (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).

All past exam questions for Microprocessors