Skip to content

Commit

Permalink
Merge pull request #53 from WebAssembly/memory_init_exec
Browse files Browse the repository at this point in the history
Add missing memory specifier to memory.init execution semantics
  • Loading branch information
rossberg authored Jun 28, 2024
2 parents c2c00d8 + 8e8700d commit 2fcf26d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion document/core/exec/instructions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2437,7 +2437,7 @@ Memory Instructions

20. Push the value :math:`\I32.\CONST~b` to the stack.

21. Execute the instruction :math:`\I32\K{.}\STORE\K{8}~\{ \OFFSET~0, \ALIGN~0 \}`.
21. Execute the instruction :math:`\I32\K{.}\STORE\K{8}~x~\{ \OFFSET~0, \ALIGN~0 \}`.

22. Assert: due to the earlier check against the memory size, :math:`d+1 < 2^{32}`.

Expand Down

0 comments on commit 2fcf26d

Please # to comment.