summaryrefslogtreecommitdiff
path: root/twasm/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'twasm/README.md')
-rw-r--r--twasm/README.md13
1 files changed, 6 insertions, 7 deletions
diff --git a/twasm/README.md b/twasm/README.md
index 91a7eb3..de73e90 100644
--- a/twasm/README.md
+++ b/twasm/README.md
@@ -21,8 +21,6 @@ I want to compile Bootler and Twasm with the Twasm assembler
| stack (rsp) |
+------------------------+
| input |
-+------------------------+ <- this is lined up to a sector
-| | <- and this is less than a sector
+------------------------+
| assembler |
+------ 0x00010000 ------+
@@ -37,11 +35,11 @@ each word represents a token on the token table.
each token gets loaded into the token table with the following form:
```
-+----------+-----------------------+
-| 31 16 | 15 0 |
-+----------+-----------------------+
-| reserved | token id |
-+----------+-----------------------+
++----------+----------+
+| 31 16 | 15 0 |
++----------+----------+
+| reserved | token id |
++----------+----------+
```
### token IDs
@@ -152,4 +150,5 @@ supported tokens are listed below
| - | 0x0063 | |
| * | 0x0064 | |
| / | 0x0065 | |
+| | 0xFEXX | token terminator byte as token, where `XX` is the byte |
| | 0xFFFF | unrecognised token |