summaryrefslogtreecommitdiff
path: root/readme.md
blob: 82550b768f11bd4689b10609eafee17557eefce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# jewelforth

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.