i64
values off the stack, shift the first value to the left by the second number of bits, and then
pushes the result back on to the stack.
i64.shl
i64 | The first value to be shifted left. |
i64 | The second value to shift the bits by. |
i64 | The result of shifting the first value left by the second value's number of bits. |
;; Push the i64 value 0b00101011 (43) onto the stack i64.const 43 ;; Push the i64 value 2 onto the stack i64.const 2 ;; Pop the two i64 values off the stack, shift the first value left ;; by the second value's number of bits and push the result ;; back onto the stack i64.shl ;; The stack contains an i64 value of 0b10101100 (172)