Explicit Stack Management in C--
The portable assembly language C-- currently assumes that program
execution takes place on a one-way infinite stack. We propose
modifications to the language to allow the front end to implement the
stack-management policy of its choice. The modifications are
complicated by C--'s tail call. We do not address the implementation
of C--'s yield call, except to note that it cannot use the program's
stack pointer.
This paper was a student project for CS 257 at Harvard
University.
Download PostScript (342K)
or PDF (50K).
Contact: C-- Webmaster.
URL: http://www.cminusminus.org/.
Last edited: Mon 05 Feb 2007 14:02 EST.