Difference between SIM and RIM instructions in 8085 microprocessor

SKYSPIN

Difference between SIM and RIM instructions in 8085 microprocessor 

Set Interrupt Mask (SIM) :
In 8085 Instruction set, SIM stands for “Set Interrupt Mask”. It is 1-Byte instruction and it is a multi-purpose instruction.

The main uses of SIM instruction are –

  • Masking/unmasking of RST7.5, RST6.5, and RST5.5
  • Reset to 0 RST7.5 flip-flop.
  • Perform serial output of data.
Read Interrupt Mask (RIM) :
In 8085 Instruction set, RIM stands for “Read Interrupt Mask”. It is a 1-Byte multi-purpose instruction.

It is used for the following purposes –
  • To check whether RST7.5, RST6.5, and RST5.5 are masked or not.
  • To check whether interrupts are enabled or not.
  • To check whether RST7.5, RST6.5, or RST5.5 interrupts are pending or not.
  • To perform serial input of data.
Difference between SIM and RIM instructions in 8085 microprocessor:
  

Post a Comment

0 Comments