Chapter 3 Introduction to Operation

3.2Files Used by Assembler and Linker

Figure 3-1 shows the inter-relationships of the files used by the assembler and linker.

Map file

Source file

SAMPLE.MAP

SANPLE.ASM

-a

 

 

Assembler

Library file

 

SAMPLE.LIB

 

 

Linker

-m

 

Include file

SAMPLE.H

-l

List file

SAMPLE.LST

Relocatable object files

SAMPLE.RF ...

Map file

Executable file

m103.map

m103.ex

Figure: 3-1 Files Used

The assembler inputs source files and include files, and outputs relocatable object files.

Include files are not special files, but are just files that comprise parts of the source file. They are incorporated into assembly at the location of include directives defined within source statements.

Files Used by Assembler and Linker 23

Page 35
Image 35
Panasonic MN1030 user manual Files Used by Assembler and Linker