ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

wasm.if

T1 wasm alu insn
WebAssembly 3.0 if (opcode 0x04, block)
SourceW3C WebAssembly 3.0 Official Binary Instruction Grammar (wasm_spec)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeW3C WebAssembly 3.0
WebAssembly 3.0 Core + GC + SIMD + Memory64
License & VersionW3C / Apache-2.0
wasm-3.0
Upstreamhttps://github.com/WebAssembly/spec/blob/main/specification/wasm-3.0/5.3-binary.instructions.spectec
Privilegeuser
ExtensionsWasm-Core

Summary

W3C WebAssembly 3.0 binary instruction if in the block group (opcode 0x04).

Syntax / Encoding

[0x04] 0x04 bt:Bblocktype (in:Binstr)* 0x0B => IF bt in* ELSE eps

Binary Encodings (1)

WidthFormatBit PatternMask / Match
8Wasm-3.0 (block)000001000xff / 0x04

Operands

NameDescription
btBinary immediate (blocktype)
inBinary immediate (instr))