table.copy
table.copy table/reference operation.
bulk-memory0xFC 0x0E
Syntax
table.copy
Stack Effect
table operands -> table result/stateOpcode
- Hex
0xFC 0x0E- Decimal
252 14- Bytes
[0xfc, 0x0e]- Prefix
0xFCbulk-memory / saturating conversions / table extension space- Encoding
0xFC 0x0E <dst:u32-leb128> <src:u32-leb128>- Immediates
dst:u32-leb128src:u32-leb128
- Category
- table
- 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
;; table.copy example
)