When the CPU executes IRET,
A. contents of IP and CS are retrieved
B. the control transfers from ISR to main program
C. clears the trap flag
D. clears the interrupt flag
Answer:A
When the CPU executes IRET,
A. contents of IP and CS are retrieved B. the control transfers from ISR to main program C. clears the trap flag D. clears the interrupt flag
Explanation: When the instruction IRET is executed, the contents of flags, IP and CS which were saved at the stack by the CALL instruction are retrieved to the respective registers.