This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

probelms when code size increases

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.

Parents
  • 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 ?

Reply
  • 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 ?

Children
No data