i32.gt_s
i32 comparison gt_s.
core0x4A
Syntax
i32.gt_s
Stack Effect
[i32, i32] -> [i32]Opcode
- Hex
0x4A- Decimal
74- Bytes
[0x4a]- Encoding
0x4A- 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
;; i32.gt_s example
)