Re: [cc65] Strange behavior - bug?

From: Ullrich von Bassewitz <>
Date: 2009-08-31 14:42:31
On Mon, Aug 31, 2009 at 07:34:16AM +0200, Marc 'BlackJack Rintsch wrote:
> Isn't there a 256 byte limit for local variables and shouldn't the
> compiler err out on this?

Not in all cases. There are operations that are cheap to do with 16 bit stack
offsets, and in these cases, 16 bit offsets are accepted. There are others,
where large offsets are painfully and slow to handle, and in these cases, cc65
refuses to do so.

In the given case however, the check for a too large offset was simply



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Aug 31 14:44:13 2009

This archive was generated by hypermail 2.1.8 : 2009-08-31 14:44:15 CEST