Re: [cc65] DA65 Selfmodification

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2008-07-27 00:17:38
On Thu, Jul 24, 2008 at 11:22:28PM +0200, Stefan wrote:
> i tried to reassemble a selfmodifiing code using DA65.
> The resulting code was unexpected not usable with CA65.

The problem is not the self modifying code but an error in da65. I don't know
how this went unnoticed by anyone including me. Anyway, here is the patch:

---------------------------------------------------------------------------
Index: main.c
===================================================================
RCS file: /usr/local/cvsroot/uz/c64/cc65/src/da65/main.c,v
retrieving revision 1.33
diff -r1.33 main.c
411c411,414
<                 ForwardLabels (D->Size);
---
>                 unsigned I;
>                 for (I = 1; I < D->Size; ++I) {
>                     ForwardLabel (I);
>                 }
---------------------------------------------------------------------------

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 Sun Jul 27 00:17:49 2008

This archive was generated by hypermail 2.1.8 : 2008-07-27 00:17:51 CEST