Code Size Reporting in HI-Tech Compiler | Cypress Semiconductor
Support & Community
Code Size Reporting in HI-Tech Compiler
How does the HI-Tech compiler report code-size?
ImageCraft reports memory usage without including absolute areas. HI-TECH reports two summaries:
- The full memory summary which includes all memory allocation except the RAM used for the dynamic stack (this represents function call return addresses, and variables allocated by reentrant functions.)
- The comparative report is the same as the ImageCraft report for comparison. The HI-TECH Comparative report subtracts the following items from the full memory report:
a. ROM: any areas/psects that are allocated at absolute addresses. This includes the vector table (typically 0-0x65).
b. RAM: any areas/psects at absolute addresses and the RAM space used by local variables and parameters in non-reentrant functions.