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.
the project is bulding properly
And you're certain that's not just because you lowered the warning level so much that you didn't get any warning, I hope?
but code starts misbehaving in some sections
Telepathy is remarkably unreliable across the internet, so I'm afraid you'll have to do better than that in describing what that misbehaviour actually is.
You need to adopt a methodical, structured, scientific approach to debugging: www.8052.com/.../read.phtml