- 2073 Bhadra · 6 marks
Interrupt pins of 8085
Short answer
TRAP (non-maskable, edge+level, vector 0024H), RST 7.5 (maskable, edge, 003CH), RST 6.5 (level, 0034H), RST 5.5 (level, 002CH), and INTR (maskable, vector supplied externally via INTA'). INTA' acknowledges INTR. Maskable interrupts controlled by DI/EI and SIM masks.
Explain how different interrupt pins of 8085 are used.
The 8085 has five hardware interrupt inputs (TRAP, RST 7.5, RST 6.5, RST 5.5, INTR) and one output INTA' for acknowledgement.
| Pin | Type | Trigger | Vector address | Priority |
|---|---|---|---|---|
| TRAP | Non-maskable | Rising edge and high level | 0024H | 1 (highest) |
| RST 7.5 | Maskable | Rising edge (latched internally) | 003CH | 2 |
| RST 6.5 | Maskable | High level | 0034H | 3 |
| RST 5.5 | Maskable | High level | 002CH | 4 |
| INTR | Maskable | High level | Given by the device | 5 (lowest) |
Use of each pin
- TRAP: used for serious events (power failure, bus error). It is not affected by DI or SIM masks. It must stay high until acknowledged, which avoids false triggering by noise.
- RST 7.5: a rising edge sets an internal flip-flop, so a short pulse is remembered until it is serviced. The flip-flop can be reset by the SIM instruction (R7.5 bit) and the request can be masked using M7.5.
- RST 6.5 and RST 5.5: level-sensitive, so the input must remain high until the 8085 samples it. They can be masked with the SIM instruction.
- INTR: a general-purpose interrupt, used with an external interrupt controller (8259). When it is accepted, the 8085 sends INTA'. The external hardware places an instruction (an RST n opcode, or CALL with an address) on the data bus, and the 8085 executes it. So the vector is chosen by the device.
- INTA': output. It tells the requesting device that INTR is accepted so the device can place the opcode on the bus. RST 7.5/6.5/5.5 and TRAP do not use INTA'; they have internal vectors.
All maskable interrupts are disabled by DI and by reset; EI enables them. When an interrupt is accepted, further maskable interrupts are disabled until EI is executed in the ISR.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Interrupt vs polling; interrupts in 8085 · Microprocessor, chapter 5
- Uses of ALE, IO/M, READY, RD pins · Microprocessor, chapter 2
- RIM instruction in 8085 · Microprocessor, chapter 5
- Interrupt vector table and its use · Microprocessor, chapter 5 · asked 3×
- 8-channel ADC interface with 8255 and 8085 · Instrumentation II, chapter 4