[cc65] size of .enum?

From: <silverdr1wfmh.org.pl>
Date: 2013-03-30 17:48:33
Situation: several variables to be placed in zeropage starting at $50. ZP content to be backed up and restored. Using .enum I have something like:

.enum
	zp_var0	=	$50
	zp_var1
	zp_var2
	...
	zp_varn
.endenum

Now, elsewhere I need to know the number of those variables in order to save and restore only the required ZP addresses' contents. Any clues for something acceptably elegant?

-- 
SD!----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Mar 30 17:48:54 2013

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