1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-26 07:28:05 +11:00
collapseos/emul/forth
Virgil Dupras c3838714d5 forth: improve execution model
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...
2020-03-13 16:01:09 -04:00
..
forth.c forth: add bin dict compilation stage! 2020-03-12 00:14:44 -04:00
glue0.asm forth: add bin dict compilation stage! 2020-03-12 00:14:44 -04:00
glue1.asm forth: add bin dict compilation stage! 2020-03-12 00:14:44 -04:00
stage1.c forth: improve execution model 2020-03-13 16:01:09 -04:00