Everything
3.5.6 Data record

This indicates the value of the code.

:   XX  XXXX  00  DD......DD  SS  NL
(1) (2) (3)   (4)     (5)     (6) (7)

Number

Description

(1)

Record mark

(2)

Number of bytesNote

(3)

Location address

(4)

Record type (Fixed at 00)

(5)

Code

Each byte of code is expressed as 2-digit hexadecimal number.

(6)

Checksum

(7)

Newline

Note

This is limited to the range of 0x1 to 0xff (the minimum value for the number of bytes of the code indicated by one data record is 1 and the maximum value is 255).

Example

:   04  0100  00  3C58E01B  6C  NL
(1) (2) (3)   (4)    (5)    (6) (7)

Number

Description

(1)

Record mark

(2)

Number of bytes of 3C58E01B expressed as 2-digit hexadecimal numbers

(3)

Location address

(4)

Record type 00

(5)

Each byte of code is expressed as 2-digit hexadecimal number.

(6)

Checksum

The lower 1 byte of E6C, which is the two's complement of 04 + 01 + 00 + 00 + 3C + 58 + E0 + 1B = 194, is expressed as a 2-digit hexadecimal number.

(7)

Newline (\n)