What are the functions of RIM, SIM, IN?

Answer Posted / tarun aggarwal ymca

Read Interrupt Mask (RIM)
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).
2 Identify pending interrupts (bit 6, 5, 4).
3 Receive serial input data bit (bit 7).
Set Interrupt Mask
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:
1 Mask 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.
3 To 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.

Input Data to Accumulator from a Port with 8-bit Address
The contents of the input port designated in the
operand are read and loaded into the
accumulator. The operand is an 8-bit address. During
execution, this port address is
duplicated in the lower order and higher order address
buses. Any one of the sets of
address lines can be decoded to enable the input port.

Is This Answer Correct ?    46 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of data moving instructions? Name any two such instructions?

586


Explain the architecture of 8051 microcontroller ?

587


What are Pseudo instructions basically?

657


What is the difference between 8085 and 8086 in microprocessor?

615


Can single bit of a port be accessed in 8051?

647






What is 'daisy-chaining' in reference to the 8086?

732


What does a microprocessor mean? What all does a microprocessor comprise of?

631


Indicate different machine cycles of 8085?

701


Classify interrupts on the basis of signals. State their differences.

663


What is the purpose of a buffer register in reference to 8085?

615


Explain the functions of ale in 8085?

601


Introduction of 8051 microcontroller architecture?

613


Which interrupt has highest priority?

650


Which are the different data transfer schemes?

545


Explain the 8051 microcontroller architecture?

665