respected sir /mam, iam working with KEIL VISION2 & I am not understand why it show the error data segment too large after running the program.how i overcome to this problem please explain clearly.i am using AT89S8252 wiyh it....
thanks & regards atul dixit
Think about it: all computers (including microcontrollers) have only a finite amount of memory; if you try to use more memory than is available, that is obviously an error - isn't it?!
You have 2 choices:
1. Re-write your program so that it uses less memory altogether;
2. Move some of your variables from DATA memory into XDATA memory.
3. Move some of your variables from DATA memory into IDATA memory.
Erik
You're right - I was unnecessarily specific. I should have said something like:
2. Move some of your variables from DATA memory into other available memory space(s).
Not forgetting that the Stack will require some memory...