From 8e8700d4ee3910e813318a1894df3bce7fa1ea0f Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Fri, 28 Jun 2024 10:59:51 -0700 Subject: [PATCH] Add missing memory specifier to memory.init execution semantics --- document/core/exec/instructions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document/core/exec/instructions.rst b/document/core/exec/instructions.rst index e4d77cdb..4abdf5b4 100644 --- a/document/core/exec/instructions.rst +++ b/document/core/exec/instructions.rst @@ -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}`.