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

Re: [colorforth] Address STack


Thanks for the insight :)

My original experiments didn't go too well, but once I made !a and @a
drop the top of the address stack things went much smoother.

I guess on the x86 the extra stack can be implemented with the EDI and
EDX registers. I still need to time some code though....



On Apr 9, 2005 10:47 AM, Roger Levy <trip_n_save@xxxxxxxxxxx> wrote:
> I'm with Chuck. In my opinion there's no point to focusing on the address
> register. If i'm not mistaken the only reason it was introduced was for
> hardware reasons ( @ in hardware is actually !A A@ correct? ) and the only
> reason there are many partical operations was just to not waste it. Since it
> was a compromise, and barely essential, we should just use it wisely.
> Chuck's worked diligently to balance his system. Add something without
> knowing it and there is a chance we could end up making it tip for
> ourselves.
> 
> Regardless, Chris: since it should only take a few lines of code, maybe you
> could try your idea out in a few of your apps and then tell us how your
> impression of it was?
> 
> I'd be curious.
> 
> Roger
> 
> ----- Original Message -----
> From: "Chuck Moore" <chipchuck@xxxxxxxxxxxxxx>
> To: <colorforth@xxxxxxxxxxxxxxxxxx>
> Sent: Saturday, April 09, 2005 12:52 PM
> Subject: RE: [colorforth] Address STack
> 
> > The problem with an address-register stack is that you must drop registers
> > that are no longer needed. This extra operation and activity is a
> > nuisance.
> >
> > Moreover, hardware stacks are very expensive.
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
> > For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
> > Main web page - http://www.colorforth.com
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
> Main web page - http://www.colorforth.com
> 
> 


-- 
Chris Walton
arke on irc.freenode.net

---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com