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

wasm.memory.size

T1 wasm bitmanip insn
WebAssembly 3.0 memory.size (opcode 0x3F, memory)
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 memory.size in the memory group (opcode 0x3F).

Syntax / Encoding

[0x3F] 0x3F x:Bmemidx => MEMORY.SIZE x

Binary Encodings (1)

WidthFormatBit PatternMask / Match
8Wasm-3.0 (memory)001111110xff / 0x3f

Operands

NameDescription
xBinary immediate (memidx)