From fdf1935e2cc4142bf1585a78844f5b7df0e1cd8f Mon Sep 17 00:00:00 2001 From: kitty Date: Thu, 22 Jan 2026 13:05:14 +1100 Subject: some macros --- readme.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'readme.md') 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 -- cgit v1.2.3