In Keil uvision the following line indicated for program size.
would someone explain it?
Program Size: Code=3984 RO-data=476 RW-data=68 ZI-data=2548
After compiling and linking the number of bytes stored in various sections of storage of the device:
Code=3984 -- Indicates the size of code stored in the Code Section of storage, usually Flash Memory is 3984 bytes.
RO-data=476 -- Indicates the size of Read Only Data, constants, literals, string literals, etc, stored in the Read Only Data Section of storage, usually Flash Memory is 476.
RW-data=68 -- Indicates the size of Read/Write Data, initialized variables, etc, stored in the Read/Write Data Section of storage, usually RAM Memory is 68.
ZI-data=2548 -- Indicates the size of Uninitialized Data, uninitialized variables, dynamic allocation, etc, stored in the Zero Initialized Data Section of storage, usually RAM Memory is 2548.
What device is this program being compiled, 8051 variant, ARM, etc?
Hope the info helps,
BigDog
---------- Post added at 23:29 ---------- Previous post was at 23:20 ----------
I just found a discussion concerning the meaning of the compiler message:
Program Size: Code=3984 RO-data=476 RW-data=68 ZI-data=2548
I thought it might give you more insight in to the exact meaning of the above message:
RAM and ROM in KEIL
BigDog