Re: [cc65] size of .enum?

From: Ullrich von Bassewitz <>
Date: 2013-03-31 18:53:48
On Sun, Mar 31, 2013 at 05:15:33PM +0200, wrote:
> can I somehow use the information from
> to reserve the exact amount of ZP backup storage bytes?
> wants a constant expression..

This is a circular reference. __ZP_VARIABLES_LAST__ is the space used in the
memory area, which depends on the number of bytes reserved.

Anyway, .res needs a constant, because the linker cannot change what is in an
object file. Or in other words, the assembler cannot allocate a currently
unknown number of bytes somewhere.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Mar 31 18:53:52 2013

This archive was generated by hypermail 2.1.8 : 2013-06-15 17:37:38 CEST