Re: [cc65] Macro/asm problem

From: stefan <>
Date: 2004-05-28 16:21:00
i would suggest something like this:
#define WAITSUSHI  \
    do{ \
    asm ("bit $fc92"); \
    }while(<0); \

This should work, as the bit command transfers bit 7 into the negative-, 
the bit 6 into the carry- and  the result of the "and accu" into the 

Greetings Monte Carlos

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri May 28 16:21:09 2004

This archive was generated by hypermail 2.1.8 : 2004-05-28 16:21:17 CEST