What are the functions of RIM, SIM, IN?
Answers were Sorted based on User's Feedback
Answer / 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).
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.
Is This Answer Correct ? | 148 Yes | 20 No |
Answer / devendra kolkur
RIM FUNCTION: READ INTERRUPT MASK it will check the wheather
interrut is mask or not.
SIM FUNCTION:SET INTERRUPT MASK it Used to mask the
hardware interrupts
IN i dont know
Is This Answer Correct ? | 102 Yes | 41 No |
Answer / 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 |
Answer / ram ji
RIM is a read mask interrupt. it is a multipurpose
instruction used the read status interrupt.
Is This Answer Correct ? | 26 Yes | 17 No |
Answer / ramdas gore
IN istruction is used to read data from a port and store it
into accumulator.
IN PORT_ADDR
e.g. if a PPI say 8155 is configured to act port A as in
put and port address is 81h assumed, then to read port A as
IN 81H
MOV D, A ;MOVE THE READ DATA IN REG D
Is This Answer Correct ? | 11 Yes | 9 No |
Answer / manoj saroha
RIM instruction is used to know which interrupt is masked
or not. first RIM instruction is given and then we have to
load in accumulator ex.RIM
mov A,08H
SIM is used to set or reset interrupt.In this first we have
to set and reset any interrupt and then execute SIM.
ex. mov A,09H
SIM
IN is used to store some data from port to accumulator.
ex. IN 08H i.e A-data
of location 08H
Is This Answer Correct ? | 7 Yes | 6 No |
Answer / dinesh
IN is an instruction in 8086, used to transfer data from I/O device to micro proceesor
ex: IN Al,40
where 40 is 8 bit port address
IN Al,4000
where 4000 is a 16 bit port address
Is This Answer Correct ? | 12 Yes | 13 No |
Answer / gowin
rim NS SIM VERY WELL EXPLAINED BY TARUN
and IN instruction is used to take input or data from output
port in accumulator
syntax :IN port_address
Is This Answer Correct ? | 6 Yes | 8 No |
Answer / abhi
-->Sim:- set interrupt mask
The masking or unmasking of RST 7.5, RST 6.5 and RST 5.5 interrupts can be performed by moving an 8-bit data to accumulator and then executing SIM instruction.
-->Rim:- Read interrupt mask
Rim checks that weather interrupt mask or not
This works after SIM to check masking
Is This Answer Correct ? | 2 Yes | 4 No |
What are the functions of RIM, SIM, IN?
What are the two major differences between intr and other interrupts (hardware)?
What is fetch and execute cycle?
Name the pin in 8086 microprocessor that is used for selecting mode of operation?
Which interrupt has highest priority?
Explain about interrupt driven mode of data transfer
explain the different types of control flags for the 8086?
What is lookup table microcontroller?
How many bits microprocessor was first developed?
What is the purpose of the ale pin?
What are hardware interrupts?
Can an rc circuit be used as clock source for 8085?