Re: [cc65] Assembler code from C

From: Ullrich von Bassewitz <>
Date: 2004-03-17 12:03:57
Sorry, I should have tried that myself before. When I try your code, the loads
are removed correctly:

; I_STATUS[0] = IndirectReadByte(INT_STATUS(0));
        .dbg    line, "test.c", 16
        jsr     push4
        jsr     _IndirectReadByte
        sta     _I_STATUS
; I_STATUS[1] = IndirectReadByte(INT_STATUS(1));
        .dbg    line, "test.c", 17
        jsr     push5
        jsr     _IndirectReadByte
        sta     _I_STATUS+1

Please check that you are using the current version of the compiler, and if it
still not working, please send me in private mail a short(!) piece of
compilable code that shows the error.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Mar 17 12:04:01 2004

This archive was generated by hypermail 2.1.8 : 2004-03-17 12:04:08 CET