Re: [cc65] Macro scoping problem...

From: Ullrich von Bassewitz <>
Date: 2010-07-10 12:29:23

On Sat, Jul 10, 2010 at 09:56:23AM +0200, Christian Krüger wrote:
> The following will not assemble:

See here:

The .string() function expects an identifier or a constant numeric value as
its argument. Test::Label consists of two identifiers and a scoping operator.

But fortunately it is very easy to fix the issue: Just leave off the whole
conversion and use the argument as is:

        .macro DoJmp label
                jmp label



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Jul 10 12:29:28 2010

This archive was generated by hypermail 2.1.8 : 2010-07-10 12:29:31 CEST