DATA RECORD:
Byte 1 colon (:)
2 and 3 number of binary data bytes for this record
4 and 5 load address for this record, high byte
6 and 7 load address for this record, low byte
8 and 9 record type: 00 (data record)
10 to x data bytes, two characters each
x+1 to x+2 checksum (two characters)
x+3 to x+4 CR and LF
A typical data record looks like
:10E0000002E003E4F588758910F58DF58BD28E302A
The end record is the last line of the file.
In principle it is structured like a data record, but the number of data
bytes is 00, the record type is 01 and the load-address field is 0000.
END RECORD:
Byte 1 colon (:)
2 and 3 00 (number of data bytes)
4 and 5 00 (load address, high byte)
6 and 7 00 (load address, low byte)
8 and 9 record type: 01 (end record)
10 and 11 checksum (two characters)
12 and 13 CR and LF
The typical END record looks like
:00000001FF
The checksum is the two's complement of the