Related articles |
---|
Framed Stack vs. Two Stack Architecture acampbellb@hotmail.com (Avatar) (2006-04-21) |
Re: Framed Stack vs. Two Stack Architecture brennie@dcsi.net.au (2006-04-22) |
Re: Framed Stack vs. Two Stack Architecture mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2006-04-22) |
Re: Framed Stack vs. Two Stack Architecture DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2006-04-23) |
Re: Framed Stack vs. Two Stack Architecture gneuner2@comcast.net (George Neuner) (2006-04-23) |
Re: Framed Stack vs. Two Stack Architecture anton@mips.complang.tuwien.ac.at (2006-04-23) |
Re: Framed Stack vs. Two Stack Architecture dot@dotat.at (Tony Finch) (2006-04-23) |
Re: Framed Stack vs. Two Stack Architecture brennie@dcsi.net.au (2006-04-23) |
Re: Framed Stack vs. Two Stack Architecture dot@dotat.at (Tony Finch) (2006-04-25) |
[3 later articles] |
From: | "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> |
Newsgroups: | comp.compilers |
Date: | 22 Apr 2006 10:00:22 -0400 |
Organization: | cbb software GmbH |
References: | 06-04-126 |
Keywords: | VM, design |
Posted-Date: | 22 Apr 2006 10:00:22 EDT |
On 21 Apr 2006 23:49:01 -0400, Avatar wrote:
> Any thoughts on these two stack architectures would be greatly
> appreciated?
I used three stacks. One was roughly what you call execution
stack. Two others were for arguments and locals. These two were
switched. When a function was called, its result was expected on the
current stack, the arguments were pushed onto another stack. Upon a
call stacks were swapped.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
Return to the
comp.compilers page.
Search the
comp.compilers archives again.