# `int`

[x86-64 Documentation](https://asm-editor.specy.app/documentation/x86.md) › [Instructions](https://asm-editor.specy.app/documentation/x86/instruction.md)

Web page: https://asm-editor.specy.app/documentation/x86/instruction/int

**Call to interrupt procedure**

Category: System

Causes a software interrupt through the given vector number, from 0 to 255.

8086 and later

[Intel's reference: INTn/INTO/INT3/INT1](https://intel.github.io/SDM/instruction/INTn-INTO-INT3-INT1.html)

## Flags

| Flag | Effect |
| --- | --- |
| CF | not changed |
| PF | not changed |
| AF | not changed |
| ZF | not changed |
| SF | not changed |
| TF | always 0 |
| IF | depends on the result |
| DF | not changed |
| OF | not changed |

## Forms

- `int imm8`

## Operands

- `imm8`: An 8-bit immediate, `-128` to `255`. Instructions that sign-extend it to a wider operand interpret the byte as `-128` to `127`; shift counts do not use this sign extension.

## Description

The code generated by the `INT` instruction is always two bytes
long: although there are short forms for some `INT` instructions,
NASM does not generate them when it sees the `INT` mnemonic. In
order to generate single-byte breakpoint instructions, use the
[`INT3`](https://asm-editor.specy.app/documentation/x86/instruction/int3.md) or [`INT1`](https://asm-editor.specy.app/documentation/x86/instruction/int1.md) instructions instead.
