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
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -601,7 +601,7 @@ The |MEMORYSIZE| instruction returns the current size of a memory.
601
601
The |MEMORYGROW| instruction grows a memory by a given delta and returns the previous size, or :math:`-1` if enough memory cannot be allocated.
602
602
Both instructions operate in units of :ref:`page size <page-size>`.
603
603
The |MEMORYFILL| instruction sets all values in a region of a memory to a given byte.
604
-
The |MEMORYCOPY| instruction copies data from a source memory region (second *immediate* |memarg|) to a possibly overlapping destination region in another or the same memory (first *immediate* |memarg|).
604
+
The |MEMORYCOPY| instruction copies data from a source memory region to a possibly overlapping destination region in another or the same memory; the first index denotes the destination.
605
605
The |MEMORYINIT| instruction copies data from a :ref:`passive data segment <syntax-data>` into a memory.
606
606
The |DATADROP| instruction prevents further use of a passive data segment. This instruction is intended to be used as an optimization hint. After a data segment is dropped its data can no longer be retrieved, so the memory used by this segment may be freed.
0 commit comments