Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!caip!lll-crg!lll-lcc!qantel!ihnp4!inuxc!pur-ee!uiucdcs!mccaugh From: mccaugh@uiucdcs.CS.UIUC.EDU Newsgroups: net.lang.c Subject: Re: varargs Message-ID: <27600048@uiucdcs> Date: Tue, 29-Apr-86 03:08:00 EDT Article-I.D.: uiucdcs.27600048 Posted: Tue Apr 29 03:08:00 1986 Date-Received: Sat, 3-May-86 00:48:08 EDT References: <293@usc-oberon.UUCP> Lines: 12 Nf-ID: #R:usc-oberon.UUCP:293:uiucdcs:27600048:000:539 Nf-From: uiucdcs.CS.UIUC.EDU!mccaugh Apr 29 02:08:00 1986 It is a truism that MS-DOS prefers that arguments be passed register-wise; in part this is due to the anticipation that the routine in question to receive the arguments is an interrupt-routine with interrupts (hopefully) disabled, so it must proceed about its business most hastily, less a (possibly) more desrving interrupt get neglected. Some architectures -- most notably, the IBM-360/370 -- allowed for "load multiple" and "store multiple" commands which saved the whole bank of regis- ters in one instruction. --Scott McCaughrin