i32
values off the stack, adds them together, and then
pushes the result back on to the stack.
i32.add
i32 | The first value to be added. |
i32 | The second value to be added. |
i32 | The result of adding the first and second values together. |
;; Push the i32 value 42 onto the stack i32.const 42 ;; Push the i32 value 101 onto the stack i32.const 101 ;; Pop the two i32 values off the stack, add them together and ;; push the result back onto the stack i32.add ;; The stack contains an i32 value of 143