[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[f-cpu] Memory add/sub
- To: f-cpu@seul.org
- Subject: [f-cpu] Memory add/sub
- From: Cedric BAIL <cedric.bail@free.fr>
- Date: Sun, 01 Sep 2002 15:30:53 +0200 (MEST)
- Delivered-To: archiver@seul.org
- Delivered-To: f-cpu-outgoing@seul.org
- Delivered-To: f-cpu@seul.org
- Delivery-Date: Sun, 01 Sep 2002 09:30:54 -0400
- Reply-To: f-cpu@seul.org
- Sender: owner-f-cpu@seul.org
- User-Agent: IMP/PHP IMAP webmail program 2.2.6
Hi,
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 ?
If we want a second stack for return address, we can use a other stream. In
that case we perhaps need to put a recommandation in the call convention for
a return stack address pointer.
Cedric
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu in the body. http://f-cpu.seul.org/