Appendix Bintel Hex Format - Nice Z80+ Operation Manual

Table of Contents

Advertisement

APPENDIX B
INTEL HEX FORMAT
A short Intel Hex File is shown below:
Explanations of each field follow:
Record Mark Field: Frame 0
:02319300923176
:0031000 l CE
: 02319300923176
The ASCII code for Colon (:) is used to signal the start of a record.
Record Length Field: Frames 1 and 2
: 02319300923176
The number of data bytes in the record is represented by two ASCII hexadecimal
digits in this field.
The high-order digit is in frame 1. The maximum number of
data bytes in a record is 2.5.5 (FF in dexadecimal). Two ASCII zeroes in this field
indicate an end-of-file.
Regardless of the record type, a zero record length causes NICE to return to the
command line interpreter following receipt of the checksum field.
Load Address Field: Frames 3-6
:02 3193 00923176
The four ASCII hexadecimal digits in frames 3-6 give the address at which the data
is loaded. The high-order digit is in frame 3; the low-order digit is in frame 6. The
first data byte is stored in the location indicated by the load address; successive
bytes are stored in successive memory locations. This field in an end-of-file record
contains zeros or the starting address of program.
B-1.

Advertisement

Table of Contents
loading

Table of Contents