### _interrupt -- Call Interrupt Procedure

Format

>     #include <builtin.h>
>     void _interrupt(const unsigned int intnum);

Language Level: Extension
_interrupt calls the interrupt procedure specified by intnum using the INT machine instruction. The integer intnum must have a value within the range 0 to 255 inclusive.

Note: _interrupt is a built-in function, which means it is implemented as an inline instruction and has no backing code in the library. For this reason:

- You cannot take the address of _interrupt.
- You cannot parenthesize a call to _interrupt. (Parentheses specify a call to the function's backing code, and _interrupt has none.)

Return Value
There is no return value, and _interrupt does not set errno.

Example
This example calls interrupt 3, which is a breakpoint.

    #include <builtin.h>

    int main(void)
    {
       /* A breakpoint will occur when running this program */
       /* within a debugger.                                */
       _interrupt(3);

       return 0;
    }

_disable -- Disable Interrupts
_enable -- Enable Interrupts
<builtin.h>