varargs

mccaugh at uiucdcs.CS.UIUC.EDU mccaugh at uiucdcs.CS.UIUC.EDU
Tue Apr 29 17:08:00 AEST 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



More information about the Comp.lang.c mailing list