The interrupt gate is used to specify an interrupt service routine.
When you do INT 50 in assembly, running in protected mode,
the CPU looks up the 50th entry(located at 50*8) in the IDT.
Then the interrupt gates selector and offset value is loaded.
The selector and offset is used to call the interrupt service routine.
When the IRET instruction is read , it returns.
[ 本帖最后由 madfrogme 于 2012-10-5 00:04 编辑 ]
When you do INT 50 in assembly, running in protected mode,
the CPU looks up the 50th entry(located at 50*8) in the IDT.
Then the interrupt gates selector and offset value is loaded.
The selector and offset is used to call the interrupt service routine.
When the IRET instruction is read , it returns.
[ 本帖最后由 madfrogme 于 2012-10-5 00:04 编辑 ]
The quieter you become, the more you can hear