[cc65] Optimizing code fails

Date view Thread view Subject view

From: Benjamin Bahnsen (bb_at_game64.de)
Date: 2003-11-22 03:08:09


Hello!

I tried to speed up my code by using the -O option when compiling and linking with cl65, but the resulting program doesn't work anymore. The program always crashes. I found out that it has something to do with my interrupts (which only consist of assembler code). If i turn interrupts off, my program works fine and much faster than without the -O option.
Why doesn't the optimization work if interrupts are turned on?

Benjamin
 


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-11-22 03:11:20 CET