# `ebreak`

[RISC-V Documentation](https://asm-editor.specy.app/documentation/risc-v.md) › [Instructions](https://asm-editor.specy.app/documentation/risc-v/instruction.md)

Web page: https://asm-editor.specy.app/documentation/risc-v/instruction/ebreak

**Environment break (breakpoint)**

Category: System

Pauses execution so that a debugger or the simulator can take control.

[RISC-V manual: ebreak](https://docs.riscv.org/reference/isa/v20260120/unpriv/rv32.html#norm:ebreak_op1)

## Forms

- `ebreak`

## Example

```riscv
# ebreak pauses with a breakpoint; t0 stays 7 and the following li has not run.
.text
li t0, 7
ebreak
li t0, 99
```
