aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authortitzer <titzer@google.com>2016-02-11 10:44:12 +0100
committertitzer <titzer@google.com>2016-02-11 10:44:12 +0100
commitacab7ac6a768872f46d24dfeb3358804df49a403 (patch)
tree3ae836d9dd1335aa13959f4eeefde735cb8fe48d /BinaryEncoding.md
parent34165f655bdcec2e380142b82203253fe8290d20 (diff)
downloadnanowasm-design-acab7ac6a768872f46d24dfeb3358804df49a403.tar.gz
Correct off by one
Diffstat (limited to 'BinaryEncoding.md')
-rw-r--r--BinaryEncoding.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md
index 29436c3..e885a57 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -226,7 +226,7 @@ The `tableswitch` operator has as complex immediate operand which is encoded as
| ---- | ---- | ---- |
| case_count | `uint16` | number of cases in the case_table |
| target_count | `uint16` | number of targets in the target_table |
-| target_table | `uint16*` | target entries where<br>`>= 0x8000` indicates an outer block to which to break<br>`<= 0x8000` indicates a case to which to jump |
+| target_table | `uint16*` | target entries where<br>`>= 0x8000` indicates an outer block to which to break<br>`< 0x8000` indicates a case to which to jump |
The table switch operator is then immediately followed by `case_count` case expressions which by default fall through to each other.