Re: [cc65] .repeat and .sprintf

From: thefox xofeht <thefox1aspekt.fi>
Date: 2011-01-05 04:34:53
On Tue, Jan 4, 2011 at 9:20 PM, Ullrich von Bassewitz <uz@musoftware.de> wrote:
>
> Hi!
>
> On Tue, Jan 04, 2011 at 04:39:56AM +0200, thefox xofeht wrote:
>> Can somebody explain me the logic behind the following behaviour:
>
> Yes, I can explain that:-) Collecting the tokens inside .REPEAT should have
> been done in raw mode, but was not, so .sprintf was actually evaluated while
> collecting the stuff to be repeated later.
>
> Thanks for the report, it's fixed.

Thanks!

Here's another puzzling behaviour I came across:

.repeat 1
    .export testing : absolute = 0
.endrepeat

I can't specify address size for the .export pseudo-op inside a
.repeat block, outside of the block it works fine. The corresponding
error is "foo.inc(3): Error: Address size specifier expected".

Any ideas?

-thefox
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Jan 5 04:35:05 2011

This archive was generated by hypermail 2.1.8 : 2011-01-05 04:35:08 CET