diff options
| author | kitty <nepeta@canaglie.net> | 2026-01-20 19:11:47 +1100 |
|---|---|---|
| committer | kitty <nepeta@canaglie.net> | 2026-01-20 19:11:47 +1100 |
| commit | baf35c20e22d80332567f3a7136d1dcec8a627fd (patch) | |
| tree | 378ad964cab07c9bf3fe4c65498f016dda046866 | |
| parent | 25a539fec12ffb53d31259cee2a649cd457111a0 (diff) | |
decision on forth registers
| -rw-r--r-- | readme.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -4,3 +4,13 @@ its a forth for linux x86\_64. mostly made for personal stuff. if you use it and it breaks, too bad public domain + +## forth registers +there are a set of 'virtual registers' (see moving forth part 1) + +W, the working register, is r11. +X, the secondary working register, is r12. +IP, the instruction pointer, is r13. +SP, the working stack pointer, is r14. +RSP, the return stack pointer, is rsp. +TOS, the top of the stack, is r15. |
