i64.sub
i64 sub arithmetic/bit operation.
core0x7D
Syntax
i64.sub
Stack Effect
[i64, i64] -> [i64]Opcode
- Hex
0x7D- Decimal
125- Bytes
[0x7d]- Encoding
0x7D- Category
- numeric
Browser Support
Core WebAssembly instruction.
Validation Rules
- Operands and result types must match the instruction signature.
- The instruction must appear in a valid structured control context.
Common Mistakes
- Using the instruction with the wrong operand type.
- Forgetting that WAT validation is stack-typed.
(func $example
;; i64.sub example
)