Re: [cc65] cc65 calling conventions

From: Maciej Witkowiak <ytm1elysium.pl>
Date: 2004-09-02 14:52:55
MagerValp dnia 02 wrz 2004 o 14:38 +0200 napisal:
> SC> Also, with __fastcall__, if the the value is a 1-byte type, is X
> SC> undefined at entry (and don't-care, at exit)?
> I believe so, yes.

I don't know about entry, but at exit X register must be set to 0 even for
__fastcall__ returning char due to possible result promotion to int.
(IIRC, but Uz convinced me to make many changes in GEOS lib to make it behave
like that so there was a good reason).

ytm

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Sep 2 14:53:01 2004

This archive was generated by hypermail 2.1.8 : 2004-09-02 14:53:10 CEST