[cc65] ca65: .local command in .macros

From: Jeremy Turner <jeremiah.turner1gmail.com>
Date: 2012-12-21 06:06:40

In my project is to have some heavily used macros that have local
variable/constants (for use in the macro code only) that I would like to
abstract from the code using the macros. I used a lot of global numeric
variables but now I have most of them inside a scope, which I feel is
a valid solution, but I was wondering about the .local command:

I see that the intention is to use .local to define a symbol to be used for
branching, but it seems to work for local variables/constants as well. (Or
is it?) Is this a correct use if I am going to be using them in the way
described above or are their drawbacks to this approach?



To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Dec 21 06:06:53 2012

This archive was generated by hypermail 2.1.8 : 2012-12-21 06:06:57 CET