[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [f-cpu] Memory add/sub



On Sun, Sep 01, 2002 at 03:30:53PM +0200, Cedric BAIL wrote:

>   If we want to correctly manage a stack with pop/push operation, we need a
> add/sub operator that preserve the LSU information bit. I propose something
> like that : madd[0-7] and msub[0-7]. I don't know if we need size for
> this operation or endian, I think not. Stream information is needed if we want
> to implement them by simply multipling the number of LSU.
>   In the same idea I think we need to affect some stream, for example 0 for
> unknow stream and 7 for stack. What did you think about that ?

I already outlined the need for such a `pointer add' instruction last
year. Programs that deal with structures (or classes/objects) will
need it quite often.

-- 
 Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
 "All I wanna do is have a little fun before I die"
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/