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

Reading/Writing external memory using xdata

I like to know how to read external memory using xdata .I've tried like this

unsigned char xdata *PORTA=0X8000;
unsigned char xdata *CW=0X8003;
unsigned char  val2, val3;
val2=0X80;
CR=&val2;
val3=0X50;
PORTA=&val3;
but I'm not getting the expected output..Pls suggest.
Thanks & Regards,
Reny.

0