Erikc,
> Gotcha. Much more sensible. In fact, that looks a little
> like FORTH because that VM (and hardware based on it) also
> uses two stacks.
Data stack and return stack, yes. I've written a number of C compilers
for stack machines.
> BTW, has anybody implemented a FORTH
> interpreter on the AVR?
Forth Inc, www.forth.com, and IRTC Forth from MPE
(www.mpeltd.demon.co.uk) although RAM Technology wrote it, IIRC. There
may be more, but these are the two that come to mind.
-- Paul.