Re: [cc65] cc65 calling conventions

From: MagerValp <MagerValp1cling.gu.se>
Date: 2004-09-02 14:38:50
>>>>> "SC" == Sidney Cadot <sidney@jigsaw.nl> writes:

SC> Ok, thanks for the rundown. Does this mean that I am free to alter
SC> the A,X,Y, and P registers within the subroutine (unless I return
SC> a value in A/X of course)?

Yup. You can also use the zp locations tmp1, tmp2, ptr1, and ptr2
freely.

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.

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp@cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
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:38:53 2004

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