aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2015-07-06 13:50:28 -0700
committerDan Gohman <sunfish@mozilla.com>2015-07-06 13:50:28 -0700
commitefb674f591da6011d3386f3dcebdbd4fe307164d (patch)
treebcb9589364937d0268f52f35c82bc058c05b093f
parent57bdfbe7d8beef86bccf5af4854dfb1f6968651d (diff)
downloadnanowasm-design-efb674f591da6011d3386f3dcebdbd4fe307164d.tar.gz
Clarify that the constant offset is in bytes.
-rw-r--r--AstSemantics.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/AstSemantics.md b/AstSemantics.md
index f6c4d64..cf4058a 100644
--- a/AstSemantics.md
+++ b/AstSemantics.md
@@ -126,9 +126,9 @@ their value operand, with no conversion applied.
### Addressing
Each linear memory access operation also has an address operand and an immediate
-integer offset attribute. The infinite-precision sum of the address operand's
-value with the offset attribute's value is called the *effective address*, which
-is interpreted as an unsigned byte index.
+integer byte offset attribute. The infinite-precision sum of the address
+operand's value with the byte offset attribute's value is called the
+*effective address*, which is interpreted as an unsigned byte index.
Linear memory accesses access the bytes starting at the location in the linear
memory storage indexed by the effective address, and extending for the number