Const
The const
instructions, are used to declare numbers.
Try it
Syntax
wasm
;; push `5` onto the stack
i32.const 5
Instruction | Binary opcode |
---|---|
i32.const |
0x41 |
i64.const |
0x42 |
f32.const |
0x43 |
f64.const |
0x44 |