On 8/21/07, Ullrich von Bassewitz <uz@musoftware.de> wrote: > > On Mon, Jul 23, 2007 at 02:53:30PM -0400, German Gonzalez wrote: > > in different functions, but I got an error "too many local variables" > > then I use the -Cl to make local variables static. > > There is a bug in cc65 that causes it to allocate space on the stack even if > locals should be made static. > > > 1. if I used a global variable, may it be more efficient regarding > > memory management, because a reuse the same memory address for my > > calculation (the loops themselves). > > Accessing static variables is cheaper, because no index register is involved. > Auto variables (on teh stack) are also reused. Is there any workaround to this bug? Cheers, German ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Tue Sep 11 16:51:16 2007
This archive was generated by hypermail 2.1.8 : 2007-09-11 16:51:20 CEST