annotate doc/manual/x151.html @ 272:d5392bb5da3c 2.5

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