Pick any one of your programs and examine the listing file generated during assembly. Also determine (with help from Appendix A and/or the assembler's command-line help) how to create a map file -- and create one for the same program.

Now answer the following:

  1. Locate your variables and/or constants in the listing. What value does each have listed? Where is it located (offset)?
  2. Explain the first column of numbers to the left of the code in the listing file. What do they represent?
  3. What are the second two columns of numbers in the listing file for?
  4. Bonus: With the map file, attempt to discover what the numbers are to the left of the symbols. In fact, what do (some) of those symbols mean?

This assignment is Level 2.