Re: [cc65] Inline assembly question

From: Scott Hutter <scott.hutter1gmail.com>
Date: 2009-08-04 01:12:17
I have noticed though, that sometimes the compiler doesnt generate labels
from C labels.  Particularly when JSRs are involved:

    asm("jsr %g", downward);
    return;

downward:
    asm("lda #$00");
    asm("rts");
    return;

I can only assume that jsr wont work this way in the inline assembly - only
jmp and other branch opcodes.

----------------------------------------------------------------------
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 01:12:24 2009

This archive was generated by hypermail 2.1.8 : 2009-08-04 01:12:26 CEST