After RETI instruction is executed then the pointer will move to which location in the program?
A. next interrupt of the interrupt vector table
B. next instruction of the program after the IE instruction
C. next instruction after the RETI in the memory
D. none of the mentioned
Answer:A
After RETI instruction is executed then the pointer will move to which location in the program?
A. next interrupt of the interrupt vector table B. next instruction of the program after the IE instruction C. next instruction after the RETI in the memory D. none of the mentioned
Explanation: When the RETI instruction is executed, it will execute the instruction present at the top of the stack (which is the PC’s value i.e after the interrupt enable instruction).