i32
values off the stack, perform a bitwise OR between them, and then
pushes the result back on to the stack.
i32.or
i32 | The first value. |
i32 | The second value. |
i32 | The result of performing a bitwise OR operation between the first and second values. |
;; Push the i32 value 0b00001010 (10) onto the stack i32.const 10 ;; Push the i32 value 0b00001100 (12) onto the stack i32.const 12 ;; Pop the two i32 values off the stack, perform bitwise OR ;; and push the result back onto the stack i32.or ;; The stack contains an i32 value of 0b00001110 (14)