96 EPSON S5U1C62000A MANUAL
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
CHAPTER 6: LINKER
6.6 Link Map File
The link map file serves to refer to the mapping information for the modules of each section. It is output
if the -m option is specified.
The file format is a text file, and its file name is "<File name>.map". (<File name> is the same as that of
the output object file.)

Sample link map file

Linker 62 ver x.xx Link map file "TEST.MAP" Sun May 03 14:16:16 1998
CODE section map of "TEST.ABS"
Index Page Start End Size Pset Type File SecNbr
1: 0x00 0x0000 0x00ff 0x0100 --- --- ------------ ---
2: 0x01 0x0100 0x0108 0x0009 +2 Abs MAIN.S 1
3: 0x01 0x0109 0x01ff 0x00f7 --- --- ------------ ---
4: 0x02 0x0200 0x020f 0x0010 +0 Rel SUB.S 2
5: 0x02 0x0210 0x02ff 0x00f0 --- --- ------------ ---
6: 0x03 0x0300 0x03ff 0x0100 --- --- ------------ ---
7: 0x04 0x0400 0x04ff 0x0100 --- --- ------------ ---
8: 0x05 0x0500 0x05ff 0x0100 --- --- ------------ ---
9: 0x06 0x0600 0x06ff 0x0100 --- --- ------------ ---
10: 0x07 0x0700 0x07ff 0x0100 --- --- ------------ ---
11: 0x08 0x0800 0x08ff 0x0100 --- --- ------------ ---
12: 0x09 0x0900 0x09ff 0x0100 --- --- ------------ ---
13: 0x0a 0x0a00 0x0aff 0x0100 --- --- ------------ ---
14: 0x0b 0x0b00 0x0bff 0x0100 --- --- ------------ ---
15: 0x0c 0x0c00 0x0cff 0x0100 --- --- ------------ ---
16: 0x0d 0x0d00 0x0dff 0x0100 --- --- ------------ ---
17: 0x0e 0x0e00 0x0eff 0x0100 --- --- ------------ ---
18: 0x0f 0x0f00 0x0fff 0x0100 --- --- ------------ ---
Total: 0x19 occupied, 0xfe7 blank
BSS section map of "TEST.ABS"
Index Start End Size Type File SecNbr
1: 0x000 0x003 0x004 Abs MAIN.S 3
2: 0x004 0xfff ----- --- ------------ ---
Total: 0x4 occupied, 0xffc blank

Contents of link map file

Index Indicates the index number of the section.
Page Indicates the page number in which the section is allocated.
Start Indicates the start address of the section.
End Indicates the end address of the section.
Size Indicates the size of the section.
Pset Indicates the number of pset instructions that are inserted or removed.
Type Indicates the section type: Rel = relocatable section and Abs = absolute section.
File Indicates the file names of the linked module.
SecNbr Indicates the section number.
Tot al Indicates the total map size and the unused area size.
"---" in the Size, Pset, Type, File and SecNbr columns indicate that no section is allocated.