You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: document/core/syntax/instructions.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -268,8 +268,8 @@ Instructions in this group are concerned with tables :ref:`table <syntax-table>`
268
268
\TABLESIZE~\tableidx \\&&|&
269
269
\TABLEGROW~\tableidx \\&&|&
270
270
\TABLEFILL~\tableidx \\&&|&
271
-
\TABLECOPY \\&&|&
272
-
\TABLEINIT~\elemidx \\&&|&
271
+
\TABLECOPY~\tableidx~\tableidx \\&&|&
272
+
\TABLEINIT~\tableidx~\elemidx \\&&|&
273
273
\ELEMDROP~\elemidx \\
274
274
\end{array}
275
275
@@ -281,7 +281,7 @@ It also takes an initialization value for the newly allocated entries.
281
281
282
282
The |TABLEFILL| instruction sets all entries in a range to a given value.
283
283
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.
285
285
The |TABLEINIT| instruction copies elements from a :ref:`passive element segment <syntax-elem>` into a table.
286
286
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.
0 commit comments