[colorforth] Question regarding if
- Subject: [colorforth] Question regarding if
- From: Alex Thiel <alex.lists@xxxxxxxxxx>
- Date: Sun, 14 Jul 2002 13:51:37 +0200
On Sunday 14 July 2002 03:30, Mark Slicker wrote:
> Seem having the top of stack as the flag would change the programming
> style. I don't know how dramatically, or if it is an improvement or
> regression.
>
> For example:
>
> test drop if ... ; then ... ;
>
> would change to:
>
> test if drop ... ; then drop ... ;
>
Actually, I quite like the former style.
Anyway, it would be helpful if you could divide the primitive wordset
consistently with reagard to their effect on the flags. E.g., words that move
data around do not affect the flags while words that operate on the TOS do.
In the interest of that, I suggest that the "-" operation be implemented as
"xor eax,0xffffffff" as someone stated earlier on this list.
Just my two cents,
Alex
------------------------
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
Wiki page http://kristopherjohnson.net/wiki/ColorForth
ColorForth index http://www.users.qwest.net/~loveall/c4index.htm