<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Sat, 19 Nov 1988 08:21:25 est
From   : marwood@ncs.dnd.ca (Gordon Marwood)
Subject: Intel HEX Format

 
In response to Nick Sayer's query about the Intel HEX format, the following
information is given in "The Programmer's CP/M Handbook" by Johnson-Laird:-
 
        :   04  0158  00  64  00  01  80  BE
   
        ^    ^    ^    ^  (____________)   ^
        |    |    |    |        |          |
        |    |    |    |        |          |____  Checksum formed by adding up
        |    |    |    |        |                 all of the numbers after the
        |    |    |    |        |                 colon and subtracting their
        |    |    |    |        |                 sum from 00H.
        |    |    |    |        |
        |    |    |    |        |_______________  Data bytes
        |    |    |    | 
        |    |    |    |________________________  Record type, normally 00
        |    |    |
        |    |    |_____________________________  Load address for data bytes
        |    |                                    on current line.
        |    |
        |    |__________________________________  Number of data bytes on line
        |
        |_______________________________________  Beginning of line marker


I don't know if the record type is ever anything but 00.
 

                                  Gordon Marwood

<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>