Intel 8-bit Hex File Format 

The 8-bit Intel Hex File Format is a printable ASCII format consisting of one or more data records followed by an end of file record. Each record consists of one line of information. Data records may appear in any order. Address and data values are represented as 2 or 4 hexadecimal digit values.

Record Format
:LLAAAARRDDDD......DDDDCC
 
LL
AAAA
RR
DD
CC
Length field. Number of data bytes.
Address field. Address of first byte.
Record type field. 00 for data and 01 for end of record.
Data field.
Checksum field. Two's complement of length, address, record type and data fields modulo 256.

Example:
:06010000010203040506E4
:00000001FF

The first line in the above example Intel Hex file is a data record addressed at location 100H with data values 1 to 6. The second line is the end of file record.