comparison doc/manual/x125.html @ 153:ffef3ea07399 2.1 2.1

Preparing for release
author lost
date Fri, 30 Jan 2009 04:32:55 +0000
parents
children
comparison
equal deleted inserted replaced
152:6bd4755d224f 153:ffef3ea07399
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 >Source Format</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="LWASM"
14 HREF="c35.html"><LINK
15 REL="PREVIOUS"
16 TITLE="Dialects"
17 HREF="x121.html"><LINK
18 REL="NEXT"
19 TITLE="Symbols"
20 HREF="x133.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="x121.html"
49 ACCESSKEY="P"
50 >Prev</A
51 ></TD
52 ><TD
53 WIDTH="80%"
54 ALIGN="center"
55 VALIGN="bottom"
56 >Chapter 3. LWASM</TD
57 ><TD
58 WIDTH="10%"
59 ALIGN="right"
60 VALIGN="bottom"
61 ><A
62 HREF="x133.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="AEN125"
77 >3.3. Source Format</A
78 ></H1
79 ><P
80 >LWASM accepts plain text files in a relatively free form. It can handle
81 lines terminated with CR, LF, CRLF, or LFCR which means it should be able
82 to assemble files on any platform on which it compiles.</P
83 ><P
84 >Each line may start with a symbol. If a symbol is present, there must not
85 be any whitespace preceding it. It is legal for a line to contain nothing
86 but a symbol.</P
87 ><P
88 >The op code is separated from the symbol by whitespace. If there is
89 no symbol, there must be at least one white space character preceding it.
90 If applicable, the operand follows separated by whitespace. Following the
91 opcode and operand is an optional comment.</P
92 ><P
93 >A comment can also be introduced with a * or a ;. The comment character is
94 optional for end of statement comments. However, if a symbol is the only
95 thing present on the line other than the comment, the comment character is
96 mandatory to prevent the assembler from interpreting the comment as an opcode.</P
97 ><P
98 >The opcode is not treated case sensitively. Neither are register names in
99 the operand fields. Symbols, however, are case sensitive.</P
100 ><P
101 >LWASM does not support line numbers in the file.</P
102 ></DIV
103 ><DIV
104 CLASS="NAVFOOTER"
105 ><HR
106 ALIGN="LEFT"
107 WIDTH="100%"><TABLE
108 SUMMARY="Footer navigation table"
109 WIDTH="100%"
110 BORDER="0"
111 CELLPADDING="0"
112 CELLSPACING="0"
113 ><TR
114 ><TD
115 WIDTH="33%"
116 ALIGN="left"
117 VALIGN="top"
118 ><A
119 HREF="x121.html"
120 ACCESSKEY="P"
121 >Prev</A
122 ></TD
123 ><TD
124 WIDTH="34%"
125 ALIGN="center"
126 VALIGN="top"
127 ><A
128 HREF="index.html"
129 ACCESSKEY="H"
130 >Home</A
131 ></TD
132 ><TD
133 WIDTH="33%"
134 ALIGN="right"
135 VALIGN="top"
136 ><A
137 HREF="x133.html"
138 ACCESSKEY="N"
139 >Next</A
140 ></TD
141 ></TR
142 ><TR
143 ><TD
144 WIDTH="33%"
145 ALIGN="left"
146 VALIGN="top"
147 >Dialects</TD
148 ><TD
149 WIDTH="34%"
150 ALIGN="center"
151 VALIGN="top"
152 ><A
153 HREF="c35.html"
154 ACCESSKEY="U"
155 >Up</A
156 ></TD
157 ><TD
158 WIDTH="33%"
159 ALIGN="right"
160 VALIGN="top"
161 >Symbols</TD
162 ></TR
163 ></TABLE
164 ></DIV
165 ></BODY
166 ></HTML
167 >