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

Could someone kindly explain to me how I can interpret the size of my program from the output generated by the C51 compiler.

Data = 9.0
Xdata = 1717
Code = 2357

Thank you in advance.

Parents
  • "This program uses 9 bytes of data space (internal RAM), 1717 bytes of xdata space (external RAM), and 2357 bytes of code space."

    Refer to your other thread for the ambiguities in the terms "internal RAM" and "external RAM"
    http://www.keil.com/forum/docs/thread3888.asp

    "DATA" RAM is directly-addressable memory within the processor "core" (as opposed to IDATA, which is indirectly-addressable RAM within the processor "core")

    "XDATA" RAM is accessed using the MOVX instructions; it is notionally outside the processor "core" (hence "external"), although it may actually be fabricated on the same chip as the processor "core"!

Reply
  • "This program uses 9 bytes of data space (internal RAM), 1717 bytes of xdata space (external RAM), and 2357 bytes of code space."

    Refer to your other thread for the ambiguities in the terms "internal RAM" and "external RAM"
    http://www.keil.com/forum/docs/thread3888.asp

    "DATA" RAM is directly-addressable memory within the processor "core" (as opposed to IDATA, which is indirectly-addressable RAM within the processor "core")

    "XDATA" RAM is accessed using the MOVX instructions; it is notionally outside the processor "core" (hence "external"), although it may actually be fabricated on the same chip as the processor "core"!

Children