In a 8085 microprocessor after execution of ‘RIM’ instruct...
Explanation:
RIM (Read Interrupt Mask) instruction is used to read the contents of the interrupt mask register and load it into the accumulator. The interrupt mask register is a special register used to enable or disable interrupts of various types.
The interrupt system of the 8085 microprocessor has five interrupt types, namely RST 7.5, RST 6.5, RST 5.5, INTR and TRAP. Each interrupt type has a specific mask bit associated with it in the interrupt mask register. If the mask bit is set to 1, the corresponding interrupt is enabled, and if it is set to 0, the interrupt is disabled.
In the given question, after the execution of the RIM instruction, the contents of the accumulator are 49 H. The interrupt mask register is a 8-bit register, and the contents of the accumulator after the RIM instruction represent the mask bits in binary form.
To determine the status of the interrupt system after the RIM instruction, we need to convert the binary value of the accumulator contents to hexadecimal form and examine the mask bits for each interrupt type.
In this case, the binary value of the accumulator contents (49 H) is 01001001 in binary form. Examining the mask bits for each interrupt type, we find that:
- RST 7.5: mask bit is 0 (disabled)
- RST 6.5: mask bit is 1 (enabled)
- RST 5.5: mask bit is 0 (disabled)
- INTR: mask bit is 0 (disabled)
- TRAP: mask bit is 1 (enabled)
Therefore, we can conclude that RST 7.5 is pending, as its mask bit is 0 (disabled) and it has not been serviced yet. The fact that RST 6.5 is masked (enabled) does not affect the status of RST 7.5.
Hence, the correct answer is option 'A'.