Skip to content

Commit 44b626b

Browse files
committed
[spec] Add missing immediates
1 parent cbb4030 commit 44b626b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

document/core/syntax/instructions.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ Instructions in this group are concerned with tables :ref:`table <syntax-table>`
268268
\TABLESIZE~\tableidx \\&&|&
269269
\TABLEGROW~\tableidx \\&&|&
270270
\TABLEFILL~\tableidx \\&&|&
271-
\TABLECOPY \\&&|&
272-
\TABLEINIT~\elemidx \\&&|&
271+
\TABLECOPY~\tableidx~\tableidx \\&&|&
272+
\TABLEINIT~\tableidx~\elemidx \\&&|&
273273
\ELEMDROP~\elemidx \\
274274
\end{array}
275275
@@ -281,7 +281,7 @@ It also takes an initialization value for the newly allocated entries.
281281

282282
The |TABLEFILL| instruction sets all entries in a range to a given value.
283283

284-
The |TABLECOPY| instruction copies elements from a source table region to a possibly overlapping destination region.
284+
The |TABLECOPY| instruction copies elements from a source table region to a possibly overlapping destination region; the first index denotes the destination.
285285
The |TABLEINIT| instruction copies elements from a :ref:`passive element segment <syntax-elem>` into a table.
286286
The |ELEMDROP| instruction prevents further use of a passive element segment. This instruction is intended to be used as an optimization hint. After an element segment is dropped its elements can no longer be retrieved, so the memory used by this segment may be freed.
287287

0 commit comments

Comments
 (0)