Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Peter Norton Programmer's Guide - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

  Probably the most familiar type of interrupts are generated by the INT
  instruction. Consider what happens when the CPU executes the following
  instruction:

  INT 12H

  The CPU pushes the current contents of the flags register, the CS (code
  segment) register, and the IP (instruction pointer) register onto the
  stack. Then it transfers control to the interrupt handler corresponding to
  interrupt number 12H, using the segmented address stored at 0000:0048H.
  The CPU then executes the interrupt 12H handler, which responds
  appropriately to interrupt 12H. The interrupt handler terminates with an
  IRET instruction that pops CS:IP and the flags back into the registers,
  thus transferring control back to the interrupted program.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson