Software Interrupts
ä INT   Similar to the Call instruction
ä INT nn  executes the following sequence
of instructions
ä PUSH flags,CS, and IP Registers onto Stack
ä IP and CS registers are loaded with the contents
of the two words at the absolute memory
addresses 0:nn*4 and 0:nn*4+2
ä Program control jumps to the address contained
in these two absolute memory locations
ä Address locations 0:0 through 0:3FFH are an
interrupt vector (table) and contain starting
addresses of subroutines you may want to
execute
ä To finish an interrupt, use IRET
ä It restores CS, IP and flags in the proper order
ä Not RET only restores IP (or IP and CS for
FAR call)