i32.extend8_s
i32.extend8_s conversion/reinterpretation instruction.
core0xC0
Syntax
i32.extend8_s
Stack Effect
[i32] -> [i32]Opcode
- Hex
0xC0- Decimal
192- Bytes
[0xc0]- Encoding
0xC0- 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.extend8_s example
)