Hi,

I have a "variable" or constant that needs to be on code memory. I declared and put it on a header file like this:

header.h:
#ifndef header
#define header
const char mycod[]=
     "\xc3\x00\x01\x00\x00\x00\x00\x00\xed\x4d\x00\x00\x00\x00\x00\x00"
    "\xed\x4d\x00\x00\x00\x00\x00\x00\xed\x4d\x00\x00\x00\x00\x00\x00";
#endif

This variable, mycod, needs to be on code memory. I tryed to compile the code for pic14 but got the message:

Unhandled initialized symbol: mycod
sdcc: /home/sdcc-builder/build/sdcc-build/orig/sdcc/src/pic/glue.c:1956: emitInitVal: Assertion `!"Initialized char-arrays are not yet supported, assign at runtime instead."' failed.

Is there a way to workaround this?