🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #5381

Re: Turbo C

#5381
From: roland
Date: Fri, 27 Oct 1989 16:58
28 lines
1291 bytes
paul@cacilj.UUCP (Paul Close) writes:

>basically the first two
>arguments were passed in registers!  Is this true?

From memory: 

  the first 3(?) integer-type arguments in registers do,d1,d2 and/or
the first 2(?) pointer-type arguments in a0 and a1.

  The TC-specific keyword 'cdecl' allows you to disable this, so
you can link to libraries compiled with Alcyon ( or generate functions
with will be called by the AES ! ).

  Integer-type return value are in d0, but pointers are returned in a0.

  I never use floating point, but I know that TC ST has quite different
floating point formats in version 1.00 and 1.10, 1.10 supporting the
IEEE standard.



             I know that You believe You understand what You think I said, but
             I'm not sure You realize that what You heard is not what I meant.

Roland Rambau

  rra@cochise.pcs.com,   {unido|pyramid}!pcsbst!rra,   2:507/414.2.fidone
Technical Details
Message-ID: <1119@pcsbst.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!uunet!mcsun!unido!pcsbst!cochise!roland
References: <1989Oct19.100825.21264@stag.UUCP> <1271@cacilj.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!uunet!mcsun!unido!pcsbst!cochise!roland
From: roland@cochise
Newsgroups: comp.sys.atari.st
Subject: Re: Turbo C
Message-ID: <1119@pcsbst.UUCP>
Date: 27 Oct 89 16:58:43 GMT
References: <1989Oct19.100825.21264@stag.UUCP> <1271@cacilj.UUCP>
Sender: uusr@pcsbst.UUCP
Lines: 27