# `b`

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

**Branch** · Pseudo-instruction

Category: Control flow

Branches unconditionally to label.

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

## Forms

- `b label`
  - `b label` → `jal zero, label`

## Operands

- `label`: A named address in the program, such as the start of a loop or a variable in `.data`.

## Example

```riscv
# b transfers to done; the skipped instruction would add 100 to t2.
.text
li t2, 0
b done
addi t2, t2, 100
done:
addi t2, t2, 1
# t2=1 confirms the named transfer reached done.
```
