You are on page 1of 4

Session Objectives

Define Interrupts
Discuss advantages of interrupt Explain Types of Interrupts Discuss int86() Interrupt

Interrupts
An interrupt is a special kind of instruction that halts the execution of a current program, saves the current state of the system and then jumps to an interrupt-handling routine that is determined by the number of the interrupt. After the interrupt routine is complete, it performs an interrupt return, which causes the previously executing program to resume.

There are two types of interrupts The ones created by Hardware.


The ones created by software.

The int86() Function


The Turbo C compiler supplies the library routine called int86(), which is used to execute software interrupts The syntax of the int86() function is -

You might also like