Since using xdata, there is used for external RAM. The program file is hex. then, the part of xdata, where is located?
"Hmm, in theory, HEX file may contain any data types. For example, HEX file may contain data loaded into EEPROM." Yes, that's true - but I think you're jumping way ahead of the original questioner! What you describe requires specific ISP (In-System Programming) functions, or support in a device programmer. Note that the Keil tools also support placing Constants into XDATA, for systems that can map ROM into the XDATA space