From baf35c20e22d80332567f3a7136d1dcec8a627fd Mon Sep 17 00:00:00 2001 From: kitty Date: Tue, 20 Jan 2026 19:11:47 +1100 Subject: decision on forth registers --- readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 5710886..82550b7 100644 --- a/readme.md +++ b/readme.md @@ -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. -- cgit v1.2.3