diff options
| author | kitty <nepeta@canaglie.net> | 2026-01-22 13:05:14 +1100 |
|---|---|---|
| committer | kitty <nepeta@canaglie.net> | 2026-01-22 13:05:14 +1100 |
| commit | fdf1935e2cc4142bf1585a78844f5b7df0e1cd8f (patch) | |
| tree | e85a145573843cb7c879828e081e2a414d90e13a /readme.md | |
| parent | 9ddee3df23c1abc39a5e0e0605c4f815db113e3e (diff) | |
some macros
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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 |
