i64.rotl
Pops two i64
values off the stack, rotates the first value to the left by the second number of bits, and then
pushes the result back on to the stack. This is similar to shifting the bits left, but any bits on the left that would have
need lost, are instead moved to the right.
Stack In
i64 |
The first value to be rotated left. |
i64 |
The second value to rotate the bits by. |
Stack Out
i64 |
The result of rotating the first value left by the second value's number of bits. |
Example
i64.const 0x0123456789ABCDEF
i64.const 8
i64.rotl