Re: [cc65] Optimizing code fails - Found the error!

Date view Thread view Subject view

From: Ullrich von Bassewitz (
Date: 2003-11-22 14:20:06

On Sat, Nov 22, 2003 at 01:52:44PM +0100, Ullrich von Bassewitz wrote:
> I think I've found an easier solution, which is better than my first proposal:
> The RTI instruction can be marked as "needs all registers on input" within the
> optimizer, so it won't remove register loads preceeding RTI. 

I've added a patch as described above the the known bugs page. To avoid all
problems, I would still suggest to write at least a wrapper function using the
external assembler.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to 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 14:20:18 CET