The SIM and RIM Instructions in The 8085 Microprocessor Are Used To Set

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

The SIM and RIM instructions in the 8085 microprocessor are used to set (SIM) and read (RIM)

the interrupt mask. With SIM, you can mask or unmask RST5.5, RST6.5, and RST7.5, you can reset the pending RST7.5 flip flop, and you can set or reset the SOD (Serial Output Data) pin.

RIM is a multipurpose instruction used to read the status of interrupts 7.5, 6.5, 5.5 and to read serial input data bit. RIM loads 8-bit data in the accumulator with the following interpretation: Actually RIM does the following three tasks: 1 Read the interrupt mask (bit 2, 1, 0). 2Identify pending interrupts (bit 6, 5, 4). 3 Receive serial input data bit (bit 7). SIM is a multipurpose interrupt used to implement the 8085 interrupts (RST 7.5, 6.5, 5.5) and serial data output. SIM interprets the accumulator content as follows: Actually, SIM does the following three tasks: 1Mask the interrupts (bit 2, 1, 0). 2 Reset RST 7.5 (bit 4). This is mainly used to overwrite RST 7.5 without serving it. 3To implement serial I/O (bit 7, 6). If bit 6 = 1 is used to enable serial I/O and bit 7 is used to transmit serial output data bit. Read more: http://wiki.answers.com/Q/What_is_SIM_and_RIM_instruction_in_microprocessor#ixzz1yxAu1 jAa

You might also like