comparison docs/manual/x41.html @ 324:b30091890d62

Add documentation of the new hex output formats. Thanks to text contributed by Tom LeMense, the manual now includes documentation of the hex formats he contributed. This also includes some updated text on the ORG directive. Only minor editorial changes vary the text from Tom's original.
author William Astle <lost@l-w.ca>
date Tue, 04 Mar 2014 23:10:13 -0700
parents
children
comparison
equal deleted inserted replaced
323:ba9a0434b115 324:b30091890d62
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
2 <HTML
3 ><HEAD
4 ><TITLE
5 >Intel Hex</TITLE
6 ><META
7 NAME="GENERATOR"
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9 REL="HOME"
10 TITLE="LW Tool Chain"
11 HREF="index.html"><LINK
12 REL="UP"
13 TITLE="Output Formats"
14 HREF="c21.html"><LINK
15 REL="PREVIOUS"
16 TITLE="Motorola S-Record"
17 HREF="x36.html"><LINK
18 REL="NEXT"
19 TITLE="OS9 Modules"
20 HREF="x46.html"></HEAD
21 ><BODY
22 CLASS="SECTION"
23 BGCOLOR="#FFFFFF"
24 TEXT="#000000"
25 LINK="#0000FF"
26 VLINK="#840084"
27 ALINK="#0000FF"
28 ><DIV
29 CLASS="NAVHEADER"
30 ><TABLE
31 SUMMARY="Header navigation table"
32 WIDTH="100%"
33 BORDER="0"
34 CELLPADDING="0"
35 CELLSPACING="0"
36 ><TR
37 ><TH
38 COLSPAN="3"
39 ALIGN="center"
40 >LW Tool Chain</TH
41 ></TR
42 ><TR
43 ><TD
44 WIDTH="10%"
45 ALIGN="left"
46 VALIGN="bottom"
47 ><A
48 HREF="x36.html"
49 ACCESSKEY="P"
50 >Prev</A
51 ></TD
52 ><TD
53 WIDTH="80%"
54 ALIGN="center"
55 VALIGN="bottom"
56 >Chapter 2. Output Formats</TD
57 ><TD
58 WIDTH="10%"
59 ALIGN="right"
60 VALIGN="bottom"
61 ><A
62 HREF="x46.html"
63 ACCESSKEY="N"
64 >Next</A
65 ></TD
66 ></TR
67 ></TABLE
68 ><HR
69 ALIGN="LEFT"
70 WIDTH="100%"></DIV
71 ><DIV
72 CLASS="SECTION"
73 ><H1
74 CLASS="SECTION"
75 ><A
76 NAME="AEN41"
77 >2.5. Intel Hex</A
78 ></H1
79 ><P
80 >This ASCII format consists of a series of CR+LF terminated "records" of ASCII
81 text. Each record has the following structure: a start-of-record character
82 ":", a two-digit ASCII hex byte count, a four-digit ASCII hex address, a two-
83 digit ASCII hex record type, an optional sequence of two-digit ASCII hex data
84 values, and a two-digit ASCII hex checksum. The LW tool chain issues only 00,
85 and 01 Intel Hex record types. Data records are limited to maximum of 16
86 data bytes in length, and paragraph alignment of addresses is favored. The
87 address sequence of the Intel hex records directly follows that of the source
88 file; multiple ORG directives in the source code may result in out-of-sequence
89 addresses in the Intel Hex output. </P
90 ><P
91 >Intel Hex format is the other standard ASCII format accepted by most memory
92 device programming equipment, it and the Motorola S-Record format are used for
93 similar purposes.</P
94 ><P
95 >LWASM can output this format since version 4.10.</P
96 ></DIV
97 ><DIV
98 CLASS="NAVFOOTER"
99 ><HR
100 ALIGN="LEFT"
101 WIDTH="100%"><TABLE
102 SUMMARY="Footer navigation table"
103 WIDTH="100%"
104 BORDER="0"
105 CELLPADDING="0"
106 CELLSPACING="0"
107 ><TR
108 ><TD
109 WIDTH="33%"
110 ALIGN="left"
111 VALIGN="top"
112 ><A
113 HREF="x36.html"
114 ACCESSKEY="P"
115 >Prev</A
116 ></TD
117 ><TD
118 WIDTH="34%"
119 ALIGN="center"
120 VALIGN="top"
121 ><A
122 HREF="index.html"
123 ACCESSKEY="H"
124 >Home</A
125 ></TD
126 ><TD
127 WIDTH="33%"
128 ALIGN="right"
129 VALIGN="top"
130 ><A
131 HREF="x46.html"
132 ACCESSKEY="N"
133 >Next</A
134 ></TD
135 ></TR
136 ><TR
137 ><TD
138 WIDTH="33%"
139 ALIGN="left"
140 VALIGN="top"
141 >Motorola S-Record</TD
142 ><TD
143 WIDTH="34%"
144 ALIGN="center"
145 VALIGN="top"
146 ><A
147 HREF="c21.html"
148 ACCESSKEY="U"
149 >Up</A
150 ></TD
151 ><TD
152 WIDTH="33%"
153 ALIGN="right"
154 VALIGN="top"
155 >OS9 Modules</TD
156 ></TR
157 ></TABLE
158 ></DIV
159 ></BODY
160 ></HTML
161 >