Hello to you all
i'm trying to do an application with an ADUC842,i'm using the limited Keil C51 freeware environment
my problem is that i cant retrieve data in the XDATA area,and i have instead its address
e.g
unsigned char xdata ucxtest=0xF3 // i declare an unsigned char: in XDATA ,the compiler allocate it say at address 0x20
sendbyte(ucxtest);//the value is passed to a tx function sending it through UART to a terminal //prototype was void sendbyte(unsigned char);
well,in the simulation everything works fine,but actually the value sent by UART is not ucxtest=0xF3 but its address (0x20)
why? thanks