Keil Logo

Filename Extensions

Typically, the filename extension is used to indicate the contents of each file. The following table lists the file name extensions that are used in the 8051 tool chain.

Extension Content and Description
.A51
.ASM
.SRC
Source code file: contains ASCII text that is the input for the Ax51 assembler.
.C
.C51
C source code file: contains ASCII text that is the input for the Cx51 ANSI C compiler.
.INC
.H
Include file: contains ASCII text that is merged into an source code file with the include directive. These files are input files for Ax51 or Cx51.
.OBJ Relocatable object file: is the output of the Ax51 or Cx51 that contains the program code and control information. Several relocatable object files are typically input files for the Lx51 Linker/Locater.
.LST Listing object file: is generated by Ax51 or Cx51 to document the translation process. A listing file typically contains the ASCII program text and diagnostic information about the source module. Appendix F describes the format of the Ax51 listing file.
. (none)
.ABS
Absolute object file: is the output of the Lx51. Typically it is a complete program that can be executed on the x51 MCU.
.M51
.MAP
Linker map file: is the listing file generated from Lx51. A map file contains information about the memory usage and other statistic information.
.HEX
.H86
Hex file: is the output file of the OHx51 object hex converter in Intel HEX file format. HEX files are used as input file for PROM programmers or other utility programs.
  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.