Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

Code Size Reporting in HI-Tech Compiler

Not applicable

Code Size Reporting in HI-Tech Compiler

Question: 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.

Version history
Revision #:
1 of 1
Last update:
‎Mar 27, 2011 04:32 AM
Updated by: