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