|
|
|
|
|
by dwgumby
443 days ago
|
|
Was playing with a 6809 system not long ago and, yeah, FORTH maps really nicely to it. S reg = parameter stack, U reg = return stack, Y reg = interpreter pointer. Inner interpreter is a single two byte instruction (jmp ,y++). I'd always wanted to play with the 6809 and it really is a slick little 8 bit cpu. |
|
Note that what you're describing is directly threaded code; traditional FORTH uses indirect threaded code: http://www.complang.tuwien.ac.at/forth/threaded-code.html