Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

Code Size Reporting in HI-Tech Compiler

Code Size Reporting in HI-Tech Compiler

Anonymous
Not applicable
Question: How does the HI-Tech compiler report code-size?

 

Answer:

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.

0 Likes
269 Views
Contributors