Thanks Phillipp and Royce. Your suggestion const char * const cmds[] = { Thw_cmd, Cnts_cmd, NULL };
solved the problem. Both the strings and the array of pointers to them
are in code space now. Still being fairly new to sdcc had not spotted
section 3.4.1.8 in the docs. I am curious about one thing though, are const
and __code synonymous or is there some slight difference
between them - eg could const be applied to __xdata as
off chip "RAM" could be implimented with flash or eprom? (or even data/near
to indicate once initialised never changed)Thanks for the help, Regards, John Royce Pereira wrote: Hi John On Wed, 08 Nov 2006 01:03:30 +0530, John Pote <[EMAIL PROTECTED]> wrote: |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user
