RE: [cc65] statics in zero page

Date view Thread view Subject view

From: Keates, Mark (Mark.Keates_at_dendrite.com)
Date: 2002-05-21 14:12:27


Hi,

> char *msg; = "Hello.";
> 
> main(int c,char**v) {
> exit(printf("%s\n",msg));
> }

If you put "static" in front of "char *msg"
the segment remains as "DATA". Shouldn't this
become "RODATA"?

Regards,

Mark
----------------------------------------------------------------------
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 : 2002-05-21 14:13:38 CEST