Memory map for C
Posted: Fri Feb 21, 2014 12:03 am
From help line
What is the memory map for SuperPRO PROplus in C?
For C programs the memory map is controlled by the corresponding lpcXXXX.ld file in the lib directory. We take the stock files from the gcc distributions and make some minor edits. The sites for gcc have documents describing those files, and for the most part we don't try to get fancy with them.
The sorcename.map file is generated by the compiler and shows were things end up in memory.
A tool we tend to use a lot is generating a ASM listing, which shows us both what code and where it is in memory resulting from a C file.
What is the memory map for SuperPRO PROplus in C?
For C programs the memory map is controlled by the corresponding lpcXXXX.ld file in the lib directory. We take the stock files from the gcc distributions and make some minor edits. The sites for gcc have documents describing those files, and for the most part we don't try to get fancy with them.
The sorcename.map file is generated by the compiler and shows were things end up in memory.
A tool we tend to use a lot is generating a ASM listing, which shows us both what code and where it is in memory resulting from a C file.