Contiguous function arguments
Roy Smith
roy at phri.UUCP
Sun Feb 24 02:14:07 AEST 1985
> Where is it written that function arguments must appear on the
> stack contiguously? K & R says the arguments are "passed by value", giving
> no indication that the arguments should be on the stack or in a register.
It seems to me that if you are on a machine with a register file architecture
(like RISC), you would expect the arguments to NOT be on the stack! I wouldn't
count on anything about formal parameter memory allocation.
--
The opinions expressed herein do not necessarily reflect
the views of the Public Health Research Institute.
{decvax,ihnp4}!vax135!timeinc\
>!phri!roy (Roy Smith)
{allegra,rocky2}!cubsvax/
More information about the Comp.lang.c
mailing list