MICROPROCESSOR AND MICROCONTROLLER

INTRODUCTION TO MICROPEOCESSOR

MODEL OF MICROPROCESSOR

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is SIM?
A
Select interrupt mask
B
Sorting interrupt mask
C
Set interrupt mask
D
None of these
Explanation: 

Detailed explanation-1: -Set Interrupt Mask (SIM) – It is used to implement the hardware interrupts (RST 7.5, RST 6.5, RST 5.5) by setting various bits to form masks or generate output data via the Serial Output Data (SOD) line. First the required value is loaded in accumulator then SIM will take the bit pattern from it.

Detailed explanation-2: -In 8085 Instruction set, SIM (Set Interrupt Mask) and RIM (Read Interrupt Mask) instructions can perform mask and unmask RST7. 5, RST6. 5, and RST5. 5 interrupt pins and can also read their status.

Detailed explanation-3: -If MSE bit = 1, the SIM instruction is used for masking or unmasking of interrupts. Then the LS 3 bits provide information about masking or unmasking of interrupts.

Detailed explanation-4: -SIM is Set Interrupt Mask. Used to mask the hardware interrupts. RIM is Read Interrupt Mask. Used to check whether the interrupt is Masked or not.

Detailed explanation-5: -EI : Enable Interrupt This instruction s used to enable all maskable interrupts. i.e interrupts RST 7.5, RST 6.5, RST 5.5 and INTR can be enabled/activated using the EI instruction. Whenever an interrupt is acknowledged, the interrupt enable flip-flop will reset and all the interrupts ae disabled.

There is 1 question to complete.