Path: blob/main/files/en-us/webassembly/reference/numeric/xor/index.md
6520 views
------{{WebAssemblySidebar}}
The xor instructions, are used for performing a bitwise XOR, similar to the ^ operator in other languages.
{{EmbedInteractiveExample("pages/wat/xor.html", "tabbed-taller")}}
Syntax
| Instruction | Binary opcode |
|---|---|
i32.xor | 0x73 |
i64.xor | 0x85 |