Intel HEX

Intel hex
Filename extensionsGeneral-purpose:
.hex,[1] .mcs,[2] .int,[3] .ihex, .ihe, .ihx[4]
Platform-specific:
.h80, .h86,[5][6] .a43,[7][4] .a90[7][4]
Split, banked, or paged:
.hxl.hxh,[8] .h00.h15, .p00.pff[9]
Binary or Intel hex:
.obj, .obl,[8] .obh,[8] .rom, .eep

Intel hexadecimal object file format, Intel hex format or Intellec Hex is a file format that conveys binary information in ASCII text form,[10] making it possible to store on non-binary media such as paper tape, punch cards, etc., to display on text terminals or be printed on line-oriented printers.[11] The format is commonly used for programming microcontrollers, EPROMs, and other types of programmable logic devices and hardware emulators. In a typical application, a compiler or assembler converts a program's source code (such as in C or assembly language) to machine code and outputs it into a object or executable file in hexadecimal (or binary) format. In some applications, the Intel hex format is also used as a container format holding packets of stream data.[12] Common file extensions used for the resulting files are .HEX[1] or .H86.[5][6] The HEX file is then read by a programmer to write the machine code into a PROM or is transferred to the target system for loading and execution.[11][13] There are various tools to convert files between hexadecimal and binary format (i.e. HEX2BIN), and vice versa (i.e. OBJHEX, OH, OHX, BIN2HEX).

  1. ^ a b Cite error: The named reference Arnold_2020_AS was invoked but never defined (see the help page).
  2. ^ Cite error: The named reference Xilinx_2010_MCS was invoked but never defined (see the help page).
  3. ^ Cite error: The named reference Sabnis_2011 was invoked but never defined (see the help page).
  4. ^ a b c Cite error: The named reference Schuldt_2018 was invoked but never defined (see the help page).
  5. ^ a b Cite error: The named reference DRI_1981_CPM86-SG was invoked but never defined (see the help page).
  6. ^ a b Cite error: The named reference DRI_1983_CPM86-PG was invoked but never defined (see the help page).
  7. ^ a b Cite error: The named reference Ramos_2010 was invoked but never defined (see the help page).
  8. ^ a b c Cite error: The named reference IDA_2006_Hexforms was invoked but never defined (see the help page).
  9. ^ Cite error: The named reference Roche_2020 was invoked but never defined (see the help page).
  10. ^ Cite error: The named reference Intel_1980_FU-UG was invoked but never defined (see the help page).
  11. ^ a b Cite error: The named reference Intel_1988_Spec was invoked but never defined (see the help page).
  12. ^ Cite error: The named reference Analog_2021 was invoked but never defined (see the help page).
  13. ^ Cite error: The named reference ARM_hex was invoked but never defined (see the help page).