data.drop
Discard a passive data segment.
bulk-memory0xFC 0x09
Syntax
data.drop
Stack Effect
[] -> []Opcode
- Hex
0xFC 0x09- Decimal
252 9- Bytes
[0xfc, 0x09]- Prefix
0xFCbulk-memory / saturating conversions / table extension space- Encoding
0xFC 0x09 <dataidx:u32-leb128>- Immediates
dataidx:u32-leb128
- Category
- memory
- Proposal
- bulk-memory
Browser Support
Feature-detect runtime support before executing examples.
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
;; data.drop example
)