diff options
| author | kitty <nepeta@canaglie.net> | 2026-01-22 22:40:50 +1100 |
|---|---|---|
| committer | kitty <nepeta@canaglie.net> | 2026-01-22 22:40:50 +1100 |
| commit | de7c0151df9e1aed2289b4848030cdbcb24eda2d (patch) | |
| tree | c5fcb632dacb71913f9fa75c0943c4714dc5b6f8 /readme.md | |
| parent | 5a2ee167a83f30abe3045f46900ff891806e83e4 (diff) | |
changed mind: TOS in memory
i don't actually think this matters, especially on this hardware.
plus it complicates implementation.
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -29,13 +29,9 @@ 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. (this will only be needed if we switch to DTC, otherwise this can be Y, a third general purpose register) -- NOS, the next-on-stack pointer, is r14. -- TOS, the top of the stack, is r15. +- SP, the working stack pointer, is r14. - RSP, the return stack pointer, is rsp. -on NOS (r14): TOS is kept in a register, -NOS points to the *second* item in the stack. - ## miscellaneous notes and stuff ### COMPILE, |
