adplus-dvertising
frame-decoration

Question

Why RETI instruction is used after an ISR?

a.

because it returns with carry

b.

because it returns to the main program with all the flags of the SREG raised

c.

because it returns to the main program after clearing the roll over flag of the interrupt, so that the interrupt can be caused again

d.

none of the mentioned

Posted under Computer Architecture

Answer: (c).because it returns to the main program after clearing the roll over flag of the interrupt, so that the interrupt can be caused again

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Why RETI instruction is used after an ISR?

Similar Questions

Discover Related MCQs

Q. In AVR what is the ISR address for an external hardware interrupt?

Q. What is the address in the interrupt service routine assigned for the timer0 overflow flag?

Q. Is the same address is assigned for the timer0 and timer1 overflow flag in the interrupt vector table of the interrupts?

Q. External hardware interrupts are assigned to which pins of the atmega32?

Q. Which register is responsible for handling all the external hardware interrupts?

Q. By default, INT0-INT2 interrupts are?

Q. What will happen in that condition, if an interrupt occurs while the micro controller is serving any other interrupt?

Q. What actually are the DB9, DB25 ports available in our computers?

Q. What does RI handshaking signal refer to according to the RS232 logic?

Q. What is the major difference between a MAX232 and a MAX233 device?

Q. Which of the following is correct about the baud rate during serial transmission?

Q. With fosc= 8 MHz, what will the count that has to filled in the UBRR register to account for the 9600 baud rate?

Q. The USART in AVR based micro controllers operate at which of the following modes?

Q. Which bit of the UCSRA is used for doubling the baud rate of the transmission?

Q. What is the use of the PE and the FE bits of the UCSRA register?

Q. Which of the following bits are used for setting the data frame size?

Q. Which of the following parameters should the transmitter and the receiver agree upon before starting a serial transmission?

Q. In AVR, the LCD operates in two main modes, it can be in 8 bit or 4 bit data.

Q. What can be the sequence of commands that may be used for initializing an LCD?

Q. When the LCD operates in the 4 bit mode, then what more commands are added to it?