Mercurial > hg > index.cgi
comparison docs/manual/x36.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 | e95f07cbce4e |
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 >Motorola S-Record</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="ASCII Hexadecimal" | |
17 HREF="x32.html"><LINK | |
18 REL="NEXT" | |
19 TITLE="Intel Hex" | |
20 HREF="x41.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="x32.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="x41.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="AEN36" | |
77 >2.4. Motorola S-Record</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 "S", an ASCII record type digit (0-9), a two-digit ASCII hex byte count, a | |
83 four-digit ASCII hex address, an optional sequence of two-digit ASCII hex data | |
84 values, and a two-digit ASCII hex checksum. The LW tool chain issues only S0, | |
85 S1, S5 and S9 record types. S1 records are limited to maximum of 16 data bytes | |
86 in length, and paragraph alignment of addresses is favored. The address | |
87 sequence of the S-Records directly follows that of the source file; multiple | |
88 ORG directives in the source code may result in out-of-sequence addresses in | |
89 the S-Record output. </P | |
90 ><P | |
91 >Motorola S-Record format is a standard ASCII format accepted by most memory | |
92 device programming equipment. It is particularly useful when the assembled | |
93 code output is destined to reside within an EPROM or Flash memory device, | |
94 for example.</P | |
95 ><P | |
96 >LWASM can output this format since version 4.10.</P | |
97 ></DIV | |
98 ><DIV | |
99 CLASS="NAVFOOTER" | |
100 ><HR | |
101 ALIGN="LEFT" | |
102 WIDTH="100%"><TABLE | |
103 SUMMARY="Footer navigation table" | |
104 WIDTH="100%" | |
105 BORDER="0" | |
106 CELLPADDING="0" | |
107 CELLSPACING="0" | |
108 ><TR | |
109 ><TD | |
110 WIDTH="33%" | |
111 ALIGN="left" | |
112 VALIGN="top" | |
113 ><A | |
114 HREF="x32.html" | |
115 ACCESSKEY="P" | |
116 >Prev</A | |
117 ></TD | |
118 ><TD | |
119 WIDTH="34%" | |
120 ALIGN="center" | |
121 VALIGN="top" | |
122 ><A | |
123 HREF="index.html" | |
124 ACCESSKEY="H" | |
125 >Home</A | |
126 ></TD | |
127 ><TD | |
128 WIDTH="33%" | |
129 ALIGN="right" | |
130 VALIGN="top" | |
131 ><A | |
132 HREF="x41.html" | |
133 ACCESSKEY="N" | |
134 >Next</A | |
135 ></TD | |
136 ></TR | |
137 ><TR | |
138 ><TD | |
139 WIDTH="33%" | |
140 ALIGN="left" | |
141 VALIGN="top" | |
142 >ASCII Hexadecimal</TD | |
143 ><TD | |
144 WIDTH="34%" | |
145 ALIGN="center" | |
146 VALIGN="top" | |
147 ><A | |
148 HREF="c21.html" | |
149 ACCESSKEY="U" | |
150 >Up</A | |
151 ></TD | |
152 ><TD | |
153 WIDTH="33%" | |
154 ALIGN="right" | |
155 VALIGN="top" | |
156 >Intel Hex</TD | |
157 ></TR | |
158 ></TABLE | |
159 ></DIV | |
160 ></BODY | |
161 ></HTML | |
162 > |