Path: blob/main/files/en-us/webassembly/reference/numeric/const/index.md
6510 views
------{{WebAssemblySidebar}}
The const instructions, are used to declare numbers.
{{EmbedInteractiveExample("pages/wat/const.html", "tabbed-standard")}}
Syntax
| Instruction | Binary opcode |
|---|---|
i32.const | 0x41 |
i64.const | 0x42 |
f32.const | 0x43 |
f64.const | 0x44 |