Q. A RIM instruction is used to
β
Correct Answer: (D)
both (b) and (c)
Explanation:
RIM (Read Interrupt Mask) is an instruction used in 8085 microprocessor.
- It is used to:
- Read the status of interrupt lines (like whether interrupts 7.5, 6.5, 5.5 are pending or masked).
- Read serial input data (SID) line.
Hence, it performs both:
- (B) Read in the serial input data, and
- (C) Read in status of pending interrupts, if any.
So, the correct choice is: (D) both (b) and (c).
Explanation by: Mr. Dubey
RIM (Read Interrupt Mask) is an instruction used in 8085 microprocessor.
- It is used to:
- Read the status of interrupt lines (like whether interrupts 7.5, 6.5, 5.5 are pending or masked).
- Read serial input data (SID) line.
Hence, it performs both:
- (B) Read in the serial input data, and
- (C) Read in status of pending interrupts, if any.
So, the correct choice is: (D) both (b) and (c).