i32.ctz
i32 ctz operation.
core0x68
Syntax
i32.ctz
Stack Effect
[i32] -> [i32]Opcode
- Hex
0x68- Decimal
104- Bytes
[0x68]- Encoding
0x68- 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.ctz example
)