What are the functions of RIM, SIM, IN?

Answers were Sorted based on User's Feedback



What are the functions of RIM, SIM, IN?..

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

What are the functions of RIM, SIM, IN?..

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

What are the functions of RIM, SIM, IN?..

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

What are the functions of RIM, SIM, IN?..

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

What are the functions of RIM, SIM, IN?..

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

What are the functions of RIM, SIM, IN?..

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

What are the functions of RIM, SIM, IN?..

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

What are the functions of RIM, SIM, IN?..

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

What are the functions of RIM, SIM, IN?..

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?..

Answer / jmdrec

IN initiate input operation

Is This Answer Correct ?    23 Yes 33 No

Post New Answer

More 86 Family Interview Questions

Describe the aaa instruction with the help of an example?

0 Answers  


What is the bhe signal? Explain its significance?

0 Answers  


What is the width of address bus?

0 Answers  


why 8085 processor is called an 8 bit processor?

0 Answers   Rolta,


State the number and type of registers in the 8086?

0 Answers  






Which are sixteen bit registers of 8085?

0 Answers  


What type of interrupts are used for critical events and why?

0 Answers  


What are the various interrupts in 8086?

0 Answers  


What is meant by priority of interrupt?

0 Answers  


What is the difference between maskable interrupts and non-maskable interrupts?

0 Answers  


How to detect a sequence of "1101" arriving serially from a signal line?

0 Answers  


What type of interrupt is the “trap” and what does it do?

0 Answers  


Categories