These instructions pertain to the 4 "main" numeric data types: i32
, i64
, f32
, and f64
const
(declare constant)
These instructions pertain to v128
values, and their various formats.
const
(declare constant vector)splat
(create vector with identical lanes)-
shuffle
(shuffle together lanes from two vectors using immediate indices)swizzle
(swizzle lanes using stack indices)extract_lane
(get lane value)replace_lane
(set lane value)
ref.null
(place a null reference on the stack)ref.is_null
(check if a reference is null)ref.func
(place afuncref
on the stack)
local.get
(push local variable to stack)local.set
(pop stack value and write to local variable)local.tee
(write top of stack to local variable without pop)global.get
(push global variable to stack)global.set
(pop stack value and write to global variable)
load
(load a value from memory and place it on the stack)store
(store an operand to memory)memory.size
(get the total size of memory)memory.grow
(request more memory)memory.init
data.drop
memory.copy
memory.fill