i64.const
Push an i64 value onto the stack.

Syntax

i64.const value

Parameters

value
An i64 literal value. Can be written as a decimal number or using the 0x00 hexadecimal notation.

Stack In

NONE

Stack Out

i64 The parameter value.

Example

;; Push the i64 value 42 onto the stack
i64.const 42

;; Push the i64 value 101 in hex onto the stack
i64.const 0x65

;; Pop the two i64 values off the stack, add them together and
;; push the result back onto the stack
i64.add