COMPILER Output Files

C51 generates a number of output files during compilation. By default, each of these output files shares the same basename  as the source file. However, each has a different file extension. The following table lists the files and gives a brief description of each.

File Extension

Description

basename.LST

Files with this extension are listing files that contain the formatted source text along with any errors detected by the compiler. Listing files may optionally contain the symbols used and the generated assembly code. See the PRINT directive in the following sections for more information.

Basename.OBJ

Files with this extension are object modules that contain relocatable object code. Object modules may be linked to an absolute object module by the Linker/Locator.

Basename.I

Files with this extension contain the source text as expanded by the preprocessor. All macros are expanded and all comments are deleted in this listing. See the PREPRINT directive in the following sections for more information.

Basename.SRC

Files with this extension are assembly source files generated from your C source code. These files can be assembled with the A51 assembler. See the SRC directive in the following sections for more information.