Size of hex file

Question: The EZ-USB AN2131QC has only 8K of on-chip RAM but my .hex file is about 7604 bytes in size.So can we still run our code from on-chip RAM?

 

Answer:

The size of the file is not reflective of how much code space your application uses up.See the listing files for each source file. At the bottom will be an indicator of how much code space is used up. One way to figure out the total code space used by the application is to sum the code space usage reported by each listing file.