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

From: Groepaz <>
Date: 2011-05-08 17:31:08
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 :)


Q: what is the main problem on the web? A: avoiding commercial idiots. Q: when 
can you be sure that you are not dealing with commercial idiots? A: When you 
actually find a site that delivers something, instead of only asking for 
money/karma/patience/bad taste. 

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun May 8 17:31:34 2011

This archive was generated by hypermail 2.1.8 : 2011-05-08 17:31:37 CEST