annotate doc/manual/x126.html @ 178:fd24bb443925 2.2

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