Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 07fc57c

Browse files
authored
Update spec for the memop binary format change (#33)
2 parents c134a8f + 406efbc commit 07fc57c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

document/core/binary/instructions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Each variant of :ref:`memory instruction <syntax-instr-memory>` is encoded with
198198
\production{memory argument} & \Bmemarg &::=&
199199
a{:}\Bu32~~o{:}\Bu32 &\Rightarrow& 0~\{ \ALIGN~a,~\OFFSET~o \}
200200
& (\iff a < 2^6) \\ &&|&
201-
a{:}\Bu32~~o{:}\Bu32~~x{:}\memidx &\Rightarrow& x~\{ \ALIGN~(a - 2^6),~\OFFSET~o \}
201+
a{:}\Bu32~~x{:}\memidx~~o{:}\Bu32 &\Rightarrow& x~\{ \ALIGN~(a - 2^6),~\OFFSET~o \}
202202
& (\iff 2^6 \leq a < 2^7) \\
203203
\production{instruction} & \Binstr &::=& \dots \\ &&|&
204204
\hex{28}~~m{:}\Bmemarg &\Rightarrow& \I32.\LOAD~m \\ &&|&

0 commit comments

Comments
 (0)