home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!mcsun!Germany.EU.net!mpifr-bonn.mpg.de!spckll!mlelstv
- From: mlelstv@spckll.mpifr-bonn.mpg.de (Michael van Elst)
- Subject: Re: Hey Commodore types
- Message-ID: <1992Jul23.202833.4068@mpifr-bonn.mpg.de>
- Sender: news@mpifr-bonn.mpg.de
- Nntp-Posting-Host: spckll
- Organization: Max-Planck-Institut f"ur Radioastronomie
- References: <paulk.0k1w@terapin.com> <1992Jul14.014115.6212@agora.uucp> <1992Jul14.182841.5792@ultb.isc.rit.edu> <1992Jul15.023355.1552@agora.uucp> <1992Jul15.114615.25849@mpifr-bonn.mpg.de> <1992Jul22.151307.1736@sagpd1> <1992Jul23.103350.14923@mpifr-bonn.mpg.de> <mwm.1ah3@contessa.palo-alto.ca.us>
- Date: Thu, 23 Jul 1992 20:28:33 GMT
- Lines: 19
-
- In <mwm.1ah3@contessa.palo-alto.ca.us> mwm@contessa.palo-alto.ca.us (Mike Meyer) writes:
- >In <1992Jul23.103350.14923@mpifr-bonn.mpg.de>, mlelstv@specklec.mpifr-bonn.mpg.de (Michael van Elst) wrote:
- >> Under K&R C every integer parameter was pushed as a LONG onto the stack
- >> anyway.
-
- >It's INT, not long, that's pushed if the compiler doesn't have a known
- >type. Unless the type of the pushed object is larger than a long; for
- >instance, a pointer when you are compiling with 16-bit ints.
-
- Sorry, Mike is of course right, chars and shorts are promoted to int.
- But 32bit ints are used most often so that it still matches the
- arguments that the stub routines await.
-
- Regards,
- --
- Michael van Elst
- UUCP: universe!local-cluster!milky-way!sol!earth!uunet!unido!mpirbn!p554mve
- Internet: p554mve@mpirbn.mpifr-bonn.mpg.de
- "A potential Snark may lurk in every tree."
-