Re: [cc65] Macro/asm problem

From: Shawn Jefferson <>
Date: 2004-06-01 15:44:21
--- Groepaz <> wrote:
> i have a solution for this that works almost
> perfectly: use the __LINE__
> symbol to generate the labels like this: (this
> avoids passing them to
> the macro as arguments)

Hey, that's great, seems to work perfectly.  My macro

#define WAITSUZY \
  asm("@L%s:, __LINE__); \
  asm("bit $FC92"); \
  asm("bmi @L%s", __LINE__)

Ulrich, any reason not to use this syntax?

Shawn Jefferson

Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger. 
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Jun 1 15:44:25 2004

This archive was generated by hypermail 2.1.8 : 2004-06-01 15:44:34 CEST