home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: 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
-
- 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
-