Re: [cc65] mod operator (signed int, unsigned int)

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2011-01-11 18:15:12
Hi!

On Thu, Dec 09, 2010 at 11:02:33PM +0100, marcas wrote:
> I think I found a failing testcase for mod operations:

Ok, this is fixed now. The wrong high byte was checked before resorting to a
16 by 8 (instead of 16 by 16) division.

As supposed before, the fix does also solve the problem reported by Stefan
Wessels.

Thanks for the reports!

Regards


        Uz



P.S.: This is a bad bug, so I think a new bugfix for 2.13 would be in order.

-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Jan 11 18:15:21 2011

This archive was generated by hypermail 2.1.8 : 2011-01-11 18:15:25 CET