Hello, Some of the variables that my program uses(may contain also big ,multidimensional arrays) have default values, which are used during the code operations and may be modified during the program's runtime. defining a variables using:
volatile xdata arrayName = [0x01, 0x03, 0x02, 0x04...];
volatile code arrayName = [0x01, 0x03, 0x02, 0x04...];
I saw that link already. ( http://www.keil.com/support/man/docs/c51/c51_userclass.asp ) It says "XCONST - Constants in const xdata space (XDATA class)." but doesn't say whether it is a modifiable area (variable) or not. Also, doesn't the fact that it is not mentioned in the C51 User guide means that it may not be supported by the C51 compiler / linker ? Amit.
"... it is not mentioned in the C51 User guide means ..." Which particular version(s) of the guide(s)? I think the latest is the online version; the printed versions (including the PDFs installed with the tools) are quite out of date? It certainly works with the current C51, but does require LX51 (not BL51).
"doesn't say whether it is a modifiable area" True. I'm not sure about that. You may need to contact Keil support direct on that one.