c3838714d5
My approach with RS was slightly wrong: RS' TOP was always containing current IP. It worked, but it was problematic when came the time to introduce RS-modifying words: it's impossible to modify RS in a word without immediately messing your flow. Therefore, what used to be RS' TOS has to be a variable that isn't changed midway by RS-modifying words. I guess that's why RS is called *return* stack... |
||
---|---|---|
.. | ||
core.fth | ||
dict.asm | ||
dictionary.txt | ||
glue.asm | ||
main.asm | ||
README.md | ||
stack.asm | ||
util.asm |
Forth
WIP A Forth interpreter. Far from complete, but you can do stuff like
KEY EMIT KEY EMIT
See dictionary.txt for a word reference.