Intel Hex Format

This page describes the format of an Intel hex file produced by a suitable assembler. This code is often downloaded from a PC to a development system and run from RAM. Alternatively, the hex file can be converted to a binary file and programmed into an EPROM.

Here is an example hex file:


Now look at the top line...

The last line of the file is special, and will always look like that above.

Record types: