unsigned data char i,x;
unsigned xdata char *p;
p=0x1000;
x=0;
for(i=0;i<11;i++)x+=*p;
DBYTE[0x20]=x;
unsigned data char x1 _at_ 0x30;
unsigned data char x2 _at_ 0x40;
unsigned int x;
unsigned xdata char *p;
x=x1+x2;
p=0x2000;
*p=x;
p++;
*p=x>>8;
我看c51里面没有这样的啊,这两个要是设置什么东西的话应该是寄存器才对,但是51里面没有这样的寄存器啊。