Re: [cc65] Bug in Switch-statement Runtime-routine

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2000-09-14 17:56:01


On Thu, Sep 14, 2000 at 11:35:36AM -0400, Greg King wrote:
> The subroutine in "libsrc/runtime/lswitch.s" has a bug in it:
>
> The "L0:" loop doesn't reset the .Y index-register.

Correct. There is a (useless) load of the Y register somewhere above the loop,
this statement should me moved into the loop.

I will fix that in the development version and prepare a patch for 2.5.

Thanks a lot for the report!

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 : 2001-12-14 22:05:36 CET