Re: Address STack

Chris Walton <[email protected]>
Newsgroups gmane.comp.lang.forth.colorforth
Message-ID <[email protected]>
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 <[email protected]> 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" <[email protected]>
> To: <[email protected]>
> 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: [email protected]
> > For additional commands, e-mail: [email protected]
> > Main web page - http://www.colorforth.com
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> Main web page - http://www.colorforth.com
> 
> 


-- 
Chris Walton
arke on irc.freenode.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.