Re: Framed Stack vs. Two Stack Architecture



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

.



Relevant Pages

  • Re: VLA failure
    ... the execution of a C program* when all the auto (and temporary ... the program up to any given sequence point, ... just prior to a stack overflow. ... shortage of stogare is detected, causing the implementation to take action ...
    (comp.std.c)
  • Re: SysRPL Runstream and Return Stack
    ... Talking about runstream and return stack, ... Now, when at least one of the objects in the runstream is a composite, ... execution resumes properly. ...
    (comp.sys.hp48)
  • SysRPL Runstream and Return Stack
    ... Talking about runstream and return stack, ... Now, when at least one of the objects in the runstream is a composite, ... execution resumes properly. ...
    (comp.sys.hp48)
  • Re: SysRPL Runstream and Return Stack
    ... Talking about runstream and return stack, ... Now, when at least one of the objects in the runstream is a composite, ... execution resumes properly. ...
    (comp.sys.hp48)
  • Re: VLA failure
    ... the execution of a C program* when all the auto (and temporary ... just prior to a stack overflow. ... presumably it has no way of recovering (i.e., restoring the C ... shortage condition" can only occur when the stack is in a consistent, ...
    (comp.std.c)