Re: [cc65] ASM to C help a n00b

From: Greg King <greg.king41verizon.net>
Date: 2010-05-27 21:31:05
From: "S M"; on Thur., May 27, 2010; at 02:28 PM -0400
>
> Am so sorry; it was a stupid mistake; I had that code
> inside the "int main(void)" block.
> I was convinced I had the main() block _after_.

Uz:
  When I defined

static char *const tile_buffer[] = { ... };

globally, it was put into RODATA, as I expected.
But, when I defined it locally, it was put into the DATA segment.
Shouldn't static constant objects go into RODATA when they are local in
a function, too?

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu May 27 21:31:03 2010

This archive was generated by hypermail 2.1.8 : 2010-05-27 21:31:05 CEST