From: | meyersrl |
Date: | 16 Aug 2000 at 23:40:18 |
Subject: | Re: Just a wee question |
On 16-Aug-00, meyersrl@songs.sce.com wrote:
Any chance of making your mail program quote text?
> In the default mode (no __asm usage) SAS/C puts the first two function
> arguments into D0/D1, and the first two pointer arguments into A0/A1,
Doesn't that convention cause a compatibility problem with other
compilers (which put all arguments on the stack)?
Regards Allan
Why would it? The only time another compiler might interface with an SAS/C
executable would be
through a documented library/device interface I suppose, FD files, pragmas
etc...
Anyway, if you do not specify which register you want to use, then you get
the default D0/D1 & A0/A1.
If you specify, then you should be documenting this interface, there is no
other reason to be interfering
with the compiler's choice of registers.
Or maybe I'm just not understanding your question... Always a DISTINCT
possibility. ;)
Bob Meyers