annotate doc/manual/x126.html @ 285:9010796c6253 2.3 2.3.1

Generated manual for distribution
author lost
date Fri, 24 Apr 2009 22:36:09 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
285
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
2 <HTML
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
3 ><HEAD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
4 ><TITLE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
5 >Source Format</TITLE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
6 ><META
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
7 NAME="GENERATOR"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
9 REL="HOME"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
10 TITLE="LW Tool Chain"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
11 HREF="index.html"><LINK
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
12 REL="UP"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
13 TITLE="LWASM"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
14 HREF="c35.html"><LINK
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
15 REL="PREVIOUS"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
16 TITLE="Dialects"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
17 HREF="x121.html"><LINK
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
18 REL="NEXT"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
19 TITLE="Symbols"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
20 HREF="x135.html"></HEAD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
21 ><BODY
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
22 CLASS="SECTION"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
23 BGCOLOR="#FFFFFF"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
24 TEXT="#000000"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
25 LINK="#0000FF"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
26 VLINK="#840084"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
27 ALINK="#0000FF"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
28 ><DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
29 CLASS="NAVHEADER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
30 ><TABLE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
31 SUMMARY="Header navigation table"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
32 WIDTH="100%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
33 BORDER="0"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
34 CELLPADDING="0"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
35 CELLSPACING="0"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
36 ><TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
37 ><TH
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
38 COLSPAN="3"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
39 ALIGN="center"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
40 >LW Tool Chain</TH
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
41 ></TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
42 ><TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
43 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
44 WIDTH="10%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
45 ALIGN="left"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
46 VALIGN="bottom"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
47 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
48 HREF="x121.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
49 ACCESSKEY="P"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
50 >Prev</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
51 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
52 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
53 WIDTH="80%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
54 ALIGN="center"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
55 VALIGN="bottom"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
56 >Chapter 3. LWASM</TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
57 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
58 WIDTH="10%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
59 ALIGN="right"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
60 VALIGN="bottom"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
61 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
62 HREF="x135.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
63 ACCESSKEY="N"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
64 >Next</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
65 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
66 ></TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
67 ></TABLE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
68 ><HR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
69 ALIGN="LEFT"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
70 WIDTH="100%"></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
71 ><DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
72 CLASS="SECTION"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
73 ><H1
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
74 CLASS="SECTION"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
75 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
76 NAME="AEN126"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
77 >3.3. Source Format</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
78 ></H1
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
79 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
80 >LWASM accepts plain text files in a relatively free form. It can handle
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
81 lines terminated with CR, LF, CRLF, or LFCR which means it should be able
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
82 to assemble files on any platform on which it compiles.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
83 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
84 >Each line may start with a symbol. If a symbol is present, there must not
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
85 be any whitespace preceding it. It is legal for a line to contain nothing
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
86 but a symbol.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
87 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
88 >The op code is separated from the symbol by whitespace. If there is
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
89 no symbol, there must be at least one white space character preceding it.
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
90 If applicable, the operand follows separated by whitespace. Following the
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
91 opcode and operand is an optional comment.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
92 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
93 >A comment can also be introduced with a * or a ;. The comment character is
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
94 optional for end of statement comments. However, if a symbol is the only
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
95 thing present on the line other than the comment, the comment character is
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
96 mandatory to prevent the assembler from interpreting the comment as an opcode.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
97 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
98 >For compatibility with the output generated by some C preprocessors, LWASM
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
99 will also ignore lines that begin with a #. This should not be used as a general
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
100 comment character, however.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
101 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
102 >The opcode is not treated case sensitively. Neither are register names in
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
103 the operand fields. Symbols, however, are case sensitive.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
104 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
105 >LWASM does not support line numbers in the file.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
106 ></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
107 ><DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
108 CLASS="NAVFOOTER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
109 ><HR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
110 ALIGN="LEFT"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
111 WIDTH="100%"><TABLE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
112 SUMMARY="Footer navigation table"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
113 WIDTH="100%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
114 BORDER="0"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
115 CELLPADDING="0"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
116 CELLSPACING="0"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
117 ><TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
118 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
119 WIDTH="33%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
120 ALIGN="left"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
121 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
122 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
123 HREF="x121.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
124 ACCESSKEY="P"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
125 >Prev</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
126 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
127 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
128 WIDTH="34%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
129 ALIGN="center"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
130 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
131 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
132 HREF="index.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
133 ACCESSKEY="H"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
134 >Home</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
135 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
136 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
137 WIDTH="33%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
138 ALIGN="right"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
139 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
140 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
141 HREF="x135.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
142 ACCESSKEY="N"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
143 >Next</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
144 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
145 ></TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
146 ><TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
147 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
148 WIDTH="33%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
149 ALIGN="left"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
150 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
151 >Dialects</TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
152 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
153 WIDTH="34%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
154 ALIGN="center"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
155 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
156 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
157 HREF="c35.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
158 ACCESSKEY="U"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
159 >Up</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
160 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
161 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
162 WIDTH="33%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
163 ALIGN="right"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
164 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
165 >Symbols</TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
166 ></TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
167 ></TABLE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
168 ></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
169 ></BODY
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
170 ></HTML
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
171 >