Re: [cc65] ca65 bug...

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-04-24 18:11:19


On Thu, Apr 24, 2003 at 03:03:32AM +0200, Groepaz wrote:
> will give me an "if nesting to deep"...must be a problem with exiting the
> macro from within the if statement :=)

The maximum .if nesting is 255. Since you have one outer .ifconst, the maximum
.if nesting inside this one is just 254, so you cannot align addresses where
the low byte is $01.

> (ah the workaround is to use repeat
> instead ofcoz... that macro must be oldish :=P)

Why not just use

        .res    ((* + $FF) & $FF00) - *

?

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-04-24 18:14:19 CEST