Path: blob/main/files/en-us/webassembly/reference/numeric/not_equal/index.md
6512 views
------{{WebAssemblySidebar}}
The ne instructions, short for not equal, check if two numbers are not equal. If the numbers are not equal 1 will be pushed on to the stack, otherwise 0 will be pushed on to the stack.
{{EmbedInteractiveExample("pages/wat/ne.html", "tabbed-taller")}}
Syntax
| Instruction | Binary opcode |
|---|---|
i32.ne | 0x47 |
i64.ne | 0x52 |
f32.ne | 0x5c |
f64.ne | 0x62 |