Skip to content

Commit c2c00d8

Browse files
authored
Merge pull request #48 from backes/specify-memcpy-immediate-order
Clarify order of the memory.copy immediates
2 parents c6d9127 + b8a9f4a commit c2c00d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

document/core/syntax/instructions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ The |MEMORYSIZE| instruction returns the current size of a memory.
601601
The |MEMORYGROW| instruction grows a memory by a given delta and returns the previous size, or :math:`-1` if enough memory cannot be allocated.
602602
Both instructions operate in units of :ref:`page size <page-size>`.
603603
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 to a possibly overlapping destination region in another or the same memory.
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.
605605
The |MEMORYINIT| instruction copies data from a :ref:`passive data segment <syntax-data>` into a memory.
606606
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.
607607

0 commit comments

Comments
 (0)