Re: [cc65] da65 hangs in infinite loop

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2007-06-12 09:28:14
Hi!

On Tue, Jun 12, 2007 at 01:19:32AM +0200, MagerValp wrote:
> Putting a label in the middle of a wordtable hangs da65 with 100% cpu usage:

The PC is not incremented when DataByteLine is called:

--- data.c      30 Jan 2006 21:03:13 -0000      1.15
+++ data.c      12 Jun 2007 07:19:40 -0000
@@ -88,6 +88,7 @@
      */
     if (Count < MemberSize) {
        DataByteLine (Count);
+        PC += Count;
        return Count;
     }

This error is in a few more places in data.c and will be fixed in the
repository.

Problem is that the label will destroy the table alignment. For a quick fix,
you will have to make the first word of the table a ByteTable.

Thanks for the report!

Regards


        Uz


-- 
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 Jun 12 09:28:24 2007

This archive was generated by hypermail 2.1.8 : 2007-06-12 09:28:27 CEST