Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.lang.c,net.micro.pc,net.unix-wizards Subject: Re: Varargs, portability Message-ID: <1786@umcp-cs.UUCP> Date: Tue, 3-Jun-86 04:22:26 EDT Article-I.D.: umcp-cs.1786 Posted: Tue Jun 3 04:22:26 1986 Date-Received: Wed, 4-Jun-86 19:26:45 EDT References: <8049@cca.UUCP> <5576@alice.uUCp> Organization: Computer Sci. Dept, U of Maryland, College Park, MD Lines: 14 Xref: linus net.lang.c:8502 net.micro.pc:8110 net.unix-wizards:15205 In article <5576@alice.uUCp>, ark@alice.UucP (Andrew Koenig) writes: >... Most C compilers on the VAX use the built-in subroutine >instructions for C subroutines. These instructions limit the argument >list to 255 words. If you refer to the fact that the `ret' instruction will pop at most 1023 bytes from the stack, well, gawsh, Robert Elz and someone whose initials are `wah' had that fixed a long time ago (4.1BSD?) . . . . It is not hard to work around: just generate an `extra' `addl2' after a subroutine call that pushes that much data. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1516) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@mimsy.umd.edu