This set of options displays everything in the file except those items that are included by the /h option. You can do the same thing with the /e option. The display consists of:
Name of the file.
The file header, which in this case shows only the date the file was created. If the /h option was used, additional information is shown.
The bank information. This part of the output shows the program ranges and sections; one bank is called "SHARED." The ranges declared during the link, or the default ranges if none were declared, are shown. These are identical to those shown on the Linker load map.
Next, the section and modules are shown along with their start and end addresses, and section attributes. The attributes are the same as on the load map with the addition of the type of section. This can be CODE, or DATA.
The module names are shown in the section they reside in. This is identical to the load map. If a module name is preceded by an "*," it indicates that symbolic information is available for the module in the COFF file. This could be assembler generated symbolic information.
The COFF sections are displayed again, except this time the raw data for the section is also shown.
If there are any line numbers in the file, they are displayed after the first .text section as shown below. The line numbers are listed on a function by function basis. Note that the line numbers are relative to the start of the function, not an absolute line number of the file.
Finally, the symbol table is shown, listing the local function symbols. Local and global symbols are grouped separately and shown bank by bank.
File: sample1.cof
File Header
Creation Date: Aug 28 13:24:02 1992
===================================================================
Bank: SHARED
ROM 0000:03FF
RAM 0000:002F
RAM REG
REG 00F0:00FB
REG 00FF:00FF
BASE 0000:000F
-- Sections --
start end attributes Section
Module
0000 0000 BASE BYTE DATA OTHERDATA
0000 0000 *SAMPLE1
0000 000B ROM BYTE CODE CODE
0000 0002 *SAMPLE2
0003 000B *SAMPLE1
00F0 00F0 REG BYTE DATA DATA
00F0 00F0 *SAMPLE2
0001 0001 RAM BYTE DATA MOREDATA
0001 0001 *SAMPLE2
Section: .text
Paddr: 0x00000000, Vaddr: 0x00000000
Size of raw data: 0x0000000c
Raw Data:
00000000 30 03 ff 9d f0 bd 01 84 bd 00 84 8e 0...p=..=...
Line Number Entries
Function: .sect_CODE_1
2 at address 0x00000003
3 at address 0x00000005
4 at address 0x00000008
5 at address 0x0000000b
Function: .sect_CODE_1
2 at address 0x00000000
3 at address 0x00000002
*** Symbol Table - Local Symbols
Bank: SHARED
File: sample1.asm
absolute static int .sect_CODE_1() with value 0x00000003
absolute static unsigned char basedata with value 0x00000000
File: sample2.asm
absolute static int .sect_CODE_1() with value 0x00000000
label start at address 0x00000000
*** Symbol Table - Global Symbols
Bank: SHARED
absolute extern unsigned char regdata with value 0x000000f0
absolute extern unsigned char ramdata with value 0x00000001
label p1 at address 0x00000003