Electrical Engineering (EE) Exam  >  Electrical Engineering (EE) Questions  >  In 8085 microprocessor, in order to enable RS... Start Learning for Free
In 8085 microprocessor, in order to enable RST 5.5, RST 6.5 and RST 7.5 interrupts, which of the following instruction are needed?
  • a)
    EI only
  • b)
    SIM only
  • c)
    EI and SIM both
  • d)
    None
Correct answer is option 'C'. Can you explain this answer?
Most Upvoted Answer
In 8085 microprocessor, in order to enable RST 5.5, RST 6.5 and RST 7....
Explanation:

To enable RST 5.5, RST 6.5 and RST 7.5 interrupts in 8085 microprocessor, both EI and SIM instructions are needed. Let’s discuss both of these instructions in detail:

1. EI (Enable Interrupts) Instruction:

EI instruction is used to enable the maskable interrupts in 8085 microprocessor. When this instruction is executed, the interrupt enable flip-flop (IEF) is set and the microprocessor is enabled to respond to the maskable interrupts. The EI instruction is a one-byte instruction with the opcode 0xFB.

2. SIM (Set Interrupt Mask) Instruction:

SIM instruction is used to set the interrupt mask bits in the status register of 8085 microprocessor. The SIM instruction is a one-byte instruction with the opcode 0x30. The status register contains 8 bits, out of which the lower 3 bits are used to enable or disable the RST 5.5, RST 6.5, and RST 7.5 interrupts.

When the SIM instruction is executed, the lower 3 bits of the status register are loaded with the content of the accumulator. The content of the accumulator determines which interrupts will be enabled or disabled. The following table shows the value of the accumulator and the corresponding interrupts enabled or disabled:

| Accumulator Value | Interrupts Enabled |
|-------------------|----------------------|
| 0x07 | RST 5.5, RST 6.5, RST 7.5 |
| 0x06 | RST 5.5, RST 6.5 |
| 0x05 | RST 5.5, RST 7.5 |
| 0x04 | RST 5.5 |
| 0x03 | RST 6.5, RST 7.5 |
| 0x02 | RST 6.5 |
| 0x01 | RST 7.5 |
| 0x00 | No Interrupt |

Conclusion:

Hence, to enable RST 5.5, RST 6.5 and RST 7.5 interrupts in 8085 microprocessor, both the EI and SIM instructions are needed. The EI instruction enables the maskable interrupts, and the SIM instruction sets the interrupt mask bits to enable or disable the desired interrupts.
Explore Courses for Electrical Engineering (EE) exam

Top Courses for Electrical Engineering (EE)

In 8085 microprocessor, in order to enable RST 5.5, RST 6.5 and RST 7.5 interrupts, which of the following instruction are needed?a)EI onlyb)SIM onlyc)EI and SIM bothd)NoneCorrect answer is option 'C'. Can you explain this answer?
Question Description
In 8085 microprocessor, in order to enable RST 5.5, RST 6.5 and RST 7.5 interrupts, which of the following instruction are needed?a)EI onlyb)SIM onlyc)EI and SIM bothd)NoneCorrect answer is option 'C'. Can you explain this answer? for Electrical Engineering (EE) 2024 is part of Electrical Engineering (EE) preparation. The Question and answers have been prepared according to the Electrical Engineering (EE) exam syllabus. Information about In 8085 microprocessor, in order to enable RST 5.5, RST 6.5 and RST 7.5 interrupts, which of the following instruction are needed?a)EI onlyb)SIM onlyc)EI and SIM bothd)NoneCorrect answer is option 'C'. Can you explain this answer? covers all topics & solutions for Electrical Engineering (EE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for In 8085 microprocessor, in order to enable RST 5.5, RST 6.5 and RST 7.5 interrupts, which of the following instruction are needed?a)EI onlyb)SIM onlyc)EI and SIM bothd)NoneCorrect answer is option 'C'. Can you explain this answer?.
Solutions for In 8085 microprocessor, in order to enable RST 5.5, RST 6.5 and RST 7.5 interrupts, which of the following instruction are needed?a)EI onlyb)SIM onlyc)EI and SIM bothd)NoneCorrect answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for Electrical Engineering (EE). Download more important topics, notes, lectures and mock test series for Electrical Engineering (EE) Exam by signing up for free.
Here you can find the meaning of In 8085 microprocessor, in order to enable RST 5.5, RST 6.5 and RST 7.5 interrupts, which of the following instruction are needed?a)EI onlyb)SIM onlyc)EI and SIM bothd)NoneCorrect answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of In 8085 microprocessor, in order to enable RST 5.5, RST 6.5 and RST 7.5 interrupts, which of the following instruction are needed?a)EI onlyb)SIM onlyc)EI and SIM bothd)NoneCorrect answer is option 'C'. Can you explain this answer?, a detailed solution for In 8085 microprocessor, in order to enable RST 5.5, RST 6.5 and RST 7.5 interrupts, which of the following instruction are needed?a)EI onlyb)SIM onlyc)EI and SIM bothd)NoneCorrect answer is option 'C'. Can you explain this answer? has been provided alongside types of In 8085 microprocessor, in order to enable RST 5.5, RST 6.5 and RST 7.5 interrupts, which of the following instruction are needed?a)EI onlyb)SIM onlyc)EI and SIM bothd)NoneCorrect answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice In 8085 microprocessor, in order to enable RST 5.5, RST 6.5 and RST 7.5 interrupts, which of the following instruction are needed?a)EI onlyb)SIM onlyc)EI and SIM bothd)NoneCorrect answer is option 'C'. Can you explain this answer? tests, examples and also practice Electrical Engineering (EE) tests.
Explore Courses for Electrical Engineering (EE) exam

Top Courses for Electrical Engineering (EE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev