BAR1 List File
The list file BAR1.LST, in Listing B.3, shows the assembly language version of the program produced by the compiler. This book does not assume knowledge of assembler programming, but for those readers who have followed the usual progression from assembler, the list file gives a useful insight into how the compiler works. Comments (italics) have been added to the original file to explain its operation. The original source code is highlighted in bold.
Listing B.3. List File BAR1.LST
CCS PCM C Compiler, Version 4.024, 37533 16-Feb-07 17:05
Filename: bar1.lst
ROM used: 59 words (1%)
Largest free fragment is 2048
RAM used: 8 (2%) at main() level
9 (2%) worst case
Stack: 1 locations
*; START OF INITIALISATION ****************************
0000: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access