You are here

Code Size Reporting in HI-Tech Compiler | Cypress Semiconductor

Support & Community

Code Size Reporting in HI-Tech Compiler

Last Updated: March 27, 2011

How does the HI-Tech compiler report code-size?


ImageCraft reports memory usage without including absolute areas. HI-TECH reports two summaries:

  1. 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.)

  1. 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.

Provide feedback on this article

Browse KB By Product

Browse KB by Type