hi, i have a simple question. be glad if anyone can help me. how do i check how much memory have i used for the lines of coding that ive written? thanks in advance wafi
how do i check how much memory have i used for the lines of coding that ive written?
You compile the file/project and see how much code memory it uses.
There is no way to tell the exact size without compiling, since it depends on more things than just the source code.
The .lst file is produced by the compiler for each module. It shows module size and optionally assembler code for every function. This is not quite the final form of the code, since the Keil linker can do significant optimizations.
The .cod file is produced by the linker, and shows the program after linker optimizations.
and the .m51 show the program total usage