Article View: comp.os.msdos.programmer
Article #6533Re: Pascal & C Calling standard?
From: Siddhartha Sen
Date: Thu, 17 Dec 1992 23:40
Date: Thu, 17 Dec 1992 23:40
31 lines
1605 bytes
1605 bytes
In article <1gnv0uINNa4a@ub.d.umn.edu> cbusch@ub.d.umn.edu (Chris) writes: > > The discussion on Pascal and C Calling convention was interesting >and informative. I wonder though are those convections standard? That Really I saved most of them. >is are Pascal functions called that way on other platforms, or is it >just limited to msdos machines? NO !!! I learnt my first prog lang PASCAL on DEC-10. There also the callee cleared the stack. KL-10 (like PDP-11) proc used a POPJ 17, instruction that did precisely the same. Secondly, "msdos machines" is not the right word but "intel machines" is. Yes, in intel machines RETF nn does the same !! If you have programmed in MS-WINDOWS you must be "pained" by declaring every callback as "FAR PASCAL". This is partially because WINDOWS developers thought that PASCAL convention would be better as it would translate easily to RETF nn. (IMHO) Regards, - Siddhartha Sen -- ___________________________________________________Siddhartha__Sen______ e-mail: sen@signet.com | FAX: 617-942-082 | SIGMA network systems Inc, voice : 617-942-0200x136 <--off->| 25 Walkers Brook Dr, READING MA 01867 voice : 617-942-2193 <-- res --> 5 Lakeview Av, #4, READING MA 01867
Technical Details
Message-ID:
<BzFGG9.Kxy@signet.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!signet!senReferences:
<1gnv0uINNa4a@ub.d.umn.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!signet!sen From: sen@signet.com (Siddhartha Sen) Subject: Re: Pascal & C Calling standard? Message-ID: <BzFGG9.Kxy@signet.com> Organization: Sigma Network Systems, Reading Ma. References: <1gnv0uINNa4a@ub.d.umn.edu> Date: Thu, 17 Dec 1992 23:40:56 GMT Lines: 31