Re: [cc65] ca65: .sizeof() doesn't return correct values?

From: Yutaka Amanai <yasai-itame19421jade.plala.or.jp>
Date: 2011-05-08 17:56:04
2011/05/09 0:31 Groepaz wrote:
> On Sonntag 08 Mai 2011, you wrote:
>> According to this listing, .sizeof(FOO)=2 and .sizeof(BAR)=0. And, if
>> you uncomment the line "lda BAZ,x", ca65 causes an error: "Size of `BAZ'
>> is unknown". Is this intended behavior? Or am I making a wrong use of
>> .sizeof() ?
> 
> what exactly do you expect the size of a label to be? IMHO the (correct)
> result is always 2, for c64 at least :)

I always expect 2 (about FOO, BAR, and BAZ). I understand that .sizeof()
should be independent of newlines.

And I got that listing with 2.13.2 and svn HEAD (r5023).
----------------------------------------------------------------------
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 May 8 17:56:21 2011

This archive was generated by hypermail 2.1.8 : 2011-05-08 17:56:23 CEST