diff options
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -29,12 +29,12 @@ 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) -- SP, the working stack pointer, is r14. +- NOS, the next-on-stack pointer, is r14. - TOS, the top of the stack, is r15. - RSP, the return stack pointer, is rsp. -on SP (r14): note that since TOS is kept in a register, -SP points to the *second* item in the stack. +on NOS (r14): TOS is kept in a register, +NOS points to the *second* item in the stack. ## miscellaneous notes and stuff |
