[cc65] Inline assembly question

From: Scott Hutter <scott.hutter1gmail.com>
Date: 2009-08-04 00:13:31
How do you branch?  Normally in assembly you can do:

    bne lbl1
    lda #$00
lbl1:
      rts

Obviously a poor example, but I think you see what Im asking.  Ive tried
branching forward using C labels such as:

asm("bne lbl1");

...

lbl1:
 asm("...");

But this gives me a Range error.

Any ideas?

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Aug 4 00:13:35 2009

This archive was generated by hypermail 2.1.8 : 2009-08-04 00:13:38 CEST