# `icebp`

[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/icebp

**Debug trap for in-circuit emulators (interrupt 1)**

Category: System

Raises interrupt 1, the debug trap, using the one-byte encoding that in-circuit emulators use.

386 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

- `icebp`

## Description

Intel documents it for hardware debugging tools and recommends [`int3`](https://asm-editor.specy.app/documentation/x86/instruction/int3.md) for software breakpoints. Under Linux, a program that executes it receives `SIGTRAP`.

## Example

```x86
global _start

section .text
_start:
        mov rax, 12
        mov rbx, 5
        mov rcx, 3
        mov rsi, 9

        icebp

        mov rax, 60         ; syscall 60: exit
        xor rdi, rdi
        syscall
```
