OH51 User's Guide

End-of-File (EOF) Record

An Intel HEX file must end with an end-of-file (EOF) record. This record must have the value 01 in the record type field. An EOF record always appears as follows:

:00000001FF

where:

00is the number of data bytes in the record.
0000is the address where the data are to be located in memory. The address in end-of-file records is meaningless and is ignored. An address of 0000h is typical.
01is the record type 01 (an end-of-file record).
FFis the checksum of the record and is calculated as 01h + NOT(00h + 00h + 00h + 01h).