Keil Logo

Output Files

The C251 Compiler generates a number of output files during compilation. By default, each output file shares the same filename 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
.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 assembly code generated. Refer to the PRINT directive for more information.
.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 L251 Linker/Locator.
.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. Refer to the PREPRINT directive for more information.
.SRC Files with this extension are assembly source files generated from your C source code. These files can be assembled with the A251 Assembler. Refer to the SRC directive for more information.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.