i32
values off the stack, multiples them together, and then
pushes the result back on to the stack.
i32.mul
i32 | The first value to be multipled. |
i32 | The second value to be multipled. |
i32 | The result of multipling the first and second values together. |
;; Push the i32 value 4 onto the stack i32.const 4 ;; Push the i32 value 3 onto the stack i32.const 3 ;; Pop the two i32 values off the stack, multiply them together and ;; push the result back onto the stack i32.mul ;; The stack contains an i32 value of 12