Re: [cc65] ca65: .local command in .macros

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2012-12-21 09:25:01
Hi!

On Fri, Dec 21, 2012 at 12:06:40AM -0500, Jeremy Turner wrote:
>    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?

It generates labels not only for branching but for every use. What happens
internally is that it generates a label name that cannot be generated by the
user. So your use is absolutely correct.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
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 09:25:09 2012

This archive was generated by hypermail 2.1.8 : 2012-12-21 09:25:13 CET