🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6459

Re: Calling convention: C vs PASCAL

#6459
From: fred smith
Date: Tue, 15 Dec 1992 13:47
10 lines
949 bytes
Duco Fijma (fijma@cs.utwente.nl) wrote:
: 
: Waht difference does this make for execution time? The cleanup code has to be
: executed for every invocation, whether it is included with the callers or the
: called code. Of course it does make difference for the code size.

The difference is that some processors include a single instruction that
cleans the stack and does the return. Presumably it is done in fewer
cycles than the discrete instructions to do the equivalent. If so, then
the return from a function will be faster.
Technical Details
Message-ID: <9212142469@fcshome.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!yale!hsdndev!spdcc!merk!fcshome!fredex
References: <1992Dec14.124529@cs.utwente.nl>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!yale!hsdndev!spdcc!merk!fcshome!fredex
From: fredex@fcshome.UUCP (fred smith)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Calling convention: C vs PASCAL
Message-ID: <9212142469@fcshome.UUCP>
Date: 15 Dec 92 13:47:54 GMT
References: <1992Dec14.124529@cs.utwente.nl>
Organization: What?!? Absolutely none!
Lines: 10
X-Newsreader: TIN [version 1.1 PL7]