i64.rem_s
i64 rem_s arithmetic/bit operation.
core0x81
Syntax
i64.rem_s
Stack Effect
[i64, i64] -> [i64]Opcode
- Hex
0x81- Decimal
129- Bytes
[0x81]- Encoding
0x81- 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.rem_s example
)