i32
values off the stack, perform a bitwise XOR between them, and then
pushes the result back on to the stack.
i32.xor
i32 | The first value. |
i32 | The second value. |
i32 | The result of performing a bitwise XOR 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 XOR ;; and push the result back onto the stack i32.xor ;; The stack contains an i32 value of 0b00000110 (6)