i am working on an EPABX system were iam using atmel AT8051RD2 controller along with keil c51.my application is in the final stage tje coce size has almost reached 10K,xdata 0f 232 and data 45.I am using large model.when i try to decalre any extra variable in xdata or bit type the project is bulding properly but code starts misbehaving in some sections.i am not able to trace the probelm.