home .. forth .. colorforth mail list archive ..

[ColorForth] More newbie questions


Mark Slicker wrote:

> Note that the 'if' is the conditional. There are many conditional
> operators on the pentium, however 'if'(jz) and '-if'(jns) are the 
> only one exposed by Chuck. 

Yes.  Forth uses a virtual machine.  The traditional
Forth virtual machine had only one conditional branch
(the branch if T=0 used by IF).  Chuck's updated virtual
machine resembles his hardware implementations and has
twice as many primitive conditional branch operations
as traditional Forth.  The Pentium has many more 
instructions and transistors than are needed to implement
a Forth that matches almost exactly to Chuck's hardware.

Jeff Fox
------------------------

To Unsubscribe from this list, send mail to Mdaemon@xxxxxxxxxxxxxxxxxx with:
unsubscribe ColorForth
as the first and only line within the message body
Problems   -   List-Admin@xxxxxxxxxxxxxxxxxx
Main ColorForth site   -   http://www.colorforth.com