Skip to content

Commit

Permalink
Merge pull request #48 from backes/specify-memcpy-immediate-order
Browse files Browse the repository at this point in the history
Clarify order of the memory.copy immediates
  • Loading branch information
rossberg authored Jul 13, 2023
2 parents c6d9127 + b8a9f4a commit c2c00d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion document/core/syntax/instructions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ The |MEMORYSIZE| instruction returns the current size of a memory.
The |MEMORYGROW| instruction grows a memory by a given delta and returns the previous size, or :math:`-1` if enough memory cannot be allocated.
Both instructions operate in units of :ref:`page size <page-size>`.
The |MEMORYFILL| instruction sets all values in a region of a memory to a given byte.
The |MEMORYCOPY| instruction copies data from a source memory region to a possibly overlapping destination region in another or the same memory.
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.
The |MEMORYINIT| instruction copies data from a :ref:`passive data segment <syntax-data>` into a memory.
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.

Expand Down

0 comments on commit c2c00d8

Please sign in to comment.