Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site phri.UUCP Path: utzoo!decvax!bellcore!allegra!ulysses!mhuxr!mhuxb!houxm!vax135!timeinc!phri!roy From: roy@phri.UUCP (Roy Smith) Newsgroups: net.lang.c Subject: Re: Contiguous function arguments Message-ID: <191@phri.UUCP> Date: Sat, 23-Feb-85 11:14:07 EST Article-I.D.: phri.191 Posted: Sat Feb 23 11:14:07 1985 Date-Received: Mon, 25-Feb-85 20:19:59 EST References: <109@mcrware.UUCP> Distribution: na Organization: Public Health Research Inst. (NY, NY) Lines: 15 > 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/