Re: [cc65] Macro/asm problem

From: Groepaz <groepaz1gmx.net>
Date: 2004-06-02 13:27:00
On Wednesday 02 June 2004 07:47, Ullrich von Bassewitz wrote:
> Hi!
>
> On Tue, Jun 01, 2004 at 06:44:21AM -0700, Shawn Jefferson wrote:
> > Hey, that's great, seems to work perfectly.
>
> Yes. It's a hack, but a very clever one:-)
>
> > Ulrich, any reason not to use this syntax?
>
> No, it should work as expected. The optimizer doesn't know about the
> scoping of cheap local labels, but in the given case it doesn't really
> matter, since the macro won't generate the same label twice (that's that
> the line number is for), so this is not a problem.

the only problem is that such macros can be used only once per sourceline.
(i would demand a __COLUMN__ symbol ... :=D)

gpz

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Jun 2 13:24:20 2004

This archive was generated by hypermail 2.1.8 : 2004-06-02 13:24:28 CEST