i have complete the program however, when i complier it with keil uVersion 2 c51 it always shown 'data segment too large' what's wrong? how can i solve it?
Refer to the answer from the last time this question was asked. http://www.keil.com/forum/docs/thread1114.asp -Walt
The amount of DATA memory space is only very limited - you have obviously used too much! Therefore your need to either 1. get rid of some variables, or 2. move some variables out of the DATA memory space and into another; eg, PDATA or XDATA. Read Chapter 3, Language Extensions in the manual - it starts with a discussion of the different memory spaces.
First try putting some of the vars in idata instead and try.If that does not work,just move some of them to pdata/xdata. RAJESH