Explain briefly in steps what happens when an interrupt occurs – 8086

Posted By on October 25, 2014


Download PDF
Task state segment
Introduction to MMX

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

– First thing the contents of the flag register the CS and IP are pushed into the stack.

– To disable the single steps and INTR interrupts the TF and IF are cleared.

– The program then jumps to the beginning or starting address of the ISS.

– 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.

– Once all the flags are restored to their original condition the IF and TF are also restored to their previous values.

Task state segment
Introduction to MMX

Download PDF

Posted by Akash Kurup

Founder and C.E.O, World4Engineers Educationist and Entrepreneur by passion. Orator and blogger by hobby

Website: http://world4engineers.com