i32.ne
Pops two
i32 values off the stack, checks to see if they are not equal to each other, and then
pushes the result back on to the stack.
if ($first !== $second) {...}
Stack In
| i32 |
The first value to check with. |
| i32 |
The second value to check against. |
Stack Out
| i32 |
The result of the comparsion. If the first and second values are not equal then the result will be 1.
If the values are the same then the result will be 0.
|
Examples
i32.const 101
i32.const 42
i32.ne
i32.const 101
i32.const 101
i32.ne