Article View: comp.os.msdos.programmer
Article #6359Calling convention: C vs PASCAL
From: zzang
Date: Fri, 11 Dec 1992 22:50
Date: Fri, 11 Dec 1992 22:50
16 lines
884 bytes
884 bytes
Hello,
the C pushs the arg from right to left onto
the stack when calling a function.
the PASCAL pushs the args from left to right.
I was told that the C calling convention results
in larger as well as slower program.
(due to some cleanup work of the stack after call??)
can someone tell me why ?
Thanks very much,
--
Zhuo Zang[~{j0WA~}]
Department of Statistics
University of Florida Email: zzang@stat.ufl.edu
Technical Details
Message-ID:
<1992Dec11.225015.26304@eng.ufl.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!saimiri.primate.wisc.edu!eng.ufl.edu!manta!zzangShow Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!saimiri.primate.wisc.edu!eng.ufl.edu!manta!zzang From: zzang@stat.ufl.edu (zzang) Subject: Calling convention: C vs PASCAL Message-ID: <1992Dec11.225015.26304@eng.ufl.edu> Originator: zzang@manta Sender: news@eng.ufl.edu (Usenet Diskhog System) Organization: University of Florida Distribution: usa Date: Fri, 11 Dec 92 22:50:15 GMT Lines: 16