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

Program size

Hi guys again here to trouble you little more ok the problem is after compiling compiler keil doesn't give any error but program doesn't work as it should I guess Program Size: data=104.0 xdata=0 code=4249
while I'm using at89c51 4k code memory
Can this be a problem

Parents
  • The Compiler can never do this, since the compiler only sees a single source file at a time - therefore it can never know the full size of your complete project.

    Only the Linker knows that.

    So the question should be: why didn't the Linker warn you?

    It should have warned you; the fact that it didn't must mean that you have misconfigured your project somehow - so that the Linker thinks that you have >4K available...

Reply
  • The Compiler can never do this, since the compiler only sees a single source file at a time - therefore it can never know the full size of your complete project.

    Only the Linker knows that.

    So the question should be: why didn't the Linker warn you?

    It should have warned you; the fact that it didn't must mean that you have misconfigured your project somehow - so that the Linker thinks that you have >4K available...

Children