summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/readme.md b/readme.md
index d77c014..64af573 100644
--- a/readme.md
+++ b/readme.md
@@ -12,13 +12,13 @@ to a DTC forth instead.
## dictionary
the dictionary follows a fairly standard format.
-| field | size |
-| :---- | :--- |
-| link to previous | 8 bytes |
-| flag | 1 byte |
-| string length | 2 bytes |
-| string | variable length |
-| code | variable length |
+| field | size | forth name |
+| :---- | :--- | :--------- |
+| link to previous | 8 bytes | LFA (link field address) |
+| flag | 1 byte | FFA (flag field address) |
+| string length | 2 bytes | NFA (name field address) |
+| string | variable length | still NFA |
+| code | variable length | CFA (code field address) |
probably, some bitmask antics could be done to store the string length
and flags together. but alternatively: no.
@@ -48,7 +48,7 @@ so a wonky but hopefully not too slow solution is to compile
- `mov r11, [cfa]` = `94 BB [CFA]`
- `call r11` = `41 FF D3`
-# Some Links
+## Some Links
- starting forth part 1: http://www.bradrodriguez.com/papers/moving1.htm
- a forum thread about determining empty stack with TOS register: http://forum.6502.org/viewtopic.php?t=8424