Path: blob/main/files/en-us/webassembly/reference/control_flow/br/index.md
6517 views
------{{WebAssemblySidebar}}
The br statement branches to a loop, block, or if.
Other variants of br are br_if for branching on condition, and br_table for branching to different blocks based on an argument.
{{EmbedInteractiveExample("pages/wat/br.html", "tabbed-taller")}}
Syntax
| Instruction | Binary opcode |
|---|---|
br | 0x0c |
br_if | 0x0d |
br_table | 0x0e |