i64.load8_s
i64.load8_s reads bytes from linear memory.
core0x30
Syntax
i64.load8_s
Stack Effect
[address i32] -> [value]Opcode
- Hex
0x30- Decimal
48- Bytes
[0x30]- Encoding
0x30 <memarg:memarg>- Immediates
memarg:memarg— alignment hint and offset (two u32 LEB128 values)
- Category
- memory
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.load8_s example
)