Re: [cc65] How to prototype an assembler function?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2010-04-25 15:13:07
On Sun, Apr 25, 2010 at 03:29:13AM -0500, Payton Byrd wrote:
> >  ldx     #$00
>
>
> I don't know what this is for.

This is one of the "default promotions" mentioned in the C standard. Don't
worry about it, it will vanish if you enable optimizations using "-Oi" on the
command line.

> Am I reading the tea leaves correctly here?

Not really. I've used the opportunity to add two articles to the wiki
describing parameter passing and parameter access. Please let me know if the
articles were helpful. Of course, everybody is invited to correct or improve
them.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Apr 25 15:13:20 2010

This archive was generated by hypermail 2.1.8 : 2010-04-25 15:13:23 CEST