1.

Explain Briefly In Steps What Happens When An Interrupt Occurs.?

Answer»

The FOLLOWING steps occur when an interrupt occurs ( both for hardware and software ):

  1. First thing the contents of the flag register the CS and IP are pushed into the stack.
  2. To disable the single steps and INTR interrupts the TF and IF are cleared.
  3. The program then JUMPS to the beginning or starting address of the ISS.
  4. When the IRET gets executed in the last line ( this occurs at the end of the ISS) the CS and IP flag contents are popped from the stack and PLACED in the appropriate registers.
  5. Once all the flags are restored to their original condition the IF and TF are ALSO restored to their previous VALUES.

The following steps occur when an interrupt occurs ( both for hardware and software ):



Discussion

No Comment Found