This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DATA SPACE MEMORY OVERLAP

Hi
I am trying to define a pointer to char in xdata,but after compiling the code linker is giving the warning that"DATA SPACE MEMORY OVERLAY FROM 0000 TO 0001"

unsigned char xdata *temp _at_ 0x0000;

but i define that as a Xdata space then why it is taking in data space?

if i will define as

unsigned char xdata *temp

then that is in xdata space