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
Intel 8051 follows which architecture?
What is the maximum memory addressable size by the 8086?
What is the maximum supported clock speed of the 8086?
How many bit address bus does the 8085 use?
How are labels named in assembly language?
Explain the characteristics of the cmp instructions?
What is the difference between jmp and call?
What is the width of data bus?
What is the purpose of the ale pin?
Explain why do you use two ground pins in microprocessor 8086?
What are the types of interrupts from type 0 to 4
How clock signal is generated in 8086? What is the maximum internal clock frequency of 8086?
What are the different types of arithmetic operations that can be performed by the 8085 microprocessor?
Define the number of flags present in the 8086 and name each one of them.
Give example of bit address and byte address?