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 coce size has almost reached It would not be that you use the eval for commercial purposes, would it?
Erik
It would not be that you use the eval for commercial purposes, would it?
No, it would not. The eval version is limited to 4k code size, and the problems the OP describes seem to have nothing to do with the compiler complaining about code size.
However, the actual description of the problem is so vague (please define "misbehave") that any attempt at diagnosis should be considered guesswork.
Maybe the stack grows into the data area ?
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