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

why dont hav use XBYTE


sir,

Because i have using the XBYTE for particular memory location. But in this program data transfer only through accumulator register. I want data store by using particular memory location.so that i have used for XBYTE


#include<stdio.h>
#include<reg51.h>
#include<intrins.h>


unsigned char xdata addend;
unsigned char xdata augend;
unsigned int  xdata sum;
void main()
{
addend = 0x55;
augend = 0x11;

sum = addend + augend;
}

0