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

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
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.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
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 14:20:18 CET