1 Answers
Option 3 : P uses RST 7.5, Q uses RST 6.5 and R uses RST 5.5
The priority of interrupts in the decreasing order:
TRAP > RST 7.5 > RST 6.5 > RST 5.5
Given that, device P has the highest priority and device R has the lowest priority.
From the options, P uses RST 7.5, Q uses RST 6.5 and R uses RST 5.5.
:
|
Interrupt |
Priority |
Trigger |
Mask |
Vector |
Vectored address |
Instruction |
|
TRAP (RST 4.5) |
1 (Highest) |
Edge and Level |
Non-maskable |
Vectored |
0024 H |
Independent of EI and DI |
|
RST 7.5 |
2 |
Edge |
Maskable |
Vectored |
003C H |
Controlled by EI and DI Unmasked by SIM |
|
RST 6.5 |
3 |
Level |
Maskable |
Vectored |
0034 H |
Controlled by EI and DI Unmasked by SIM |
|
RST 5.5 |
4 |
Level |
Maskable |
Vectored |
002C H |
Controlled by EI and DI Unmasked by SIM |
|
INTR |
5 (Lowest) |
Level |
Maskable |
Non-Vectored |
0000 to 0038 H |
Controlled by EI and DI |