Re: [cc65] Optimizing C code

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2003-09-05 14:04:46


On Friday 05 September 2003 11:16, Ullrich von Bassewitz wrote:
> On Fri, Sep 05, 2003 at 10:34:36AM +0200, Groepaz wrote:
> > is there another way then that would let me do that with a "custom"
> > memory range in zp then? if possible something that would allow me to use
> > my variables as before (and not having to convert them to pointers or
> > sth)?
>
> You can define your own variables in an assembler file, reference them as
> externals and tell the compiler with "#pragma zpsym" that the symbol is
> actually in the zeropage. However, the optimizer will not use this
> information, so it will not use the variable with the special zero page
> addressing modes.


mmmm...ok, i have to experiment with that :)

gpz
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-09-05 14:09:37 CEST