annotate doc/manual/x146.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 >Assembler Directives</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="Numbers and Expressions"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
17 HREF="x139.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="Macros"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
20 HREF="x378.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="x139.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="x378.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="AEN146"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
77 >3.6. Assembler Directives</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 >Various directives can be used to control the behaviour of the
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
81 assembler or to include non-code/data in the resulting output. Those directives
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
82 that are not described in detail in other sections of this document are
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
83 described below.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
84 ><DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
85 CLASS="SECTION"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
86 ><H2
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
87 CLASS="SECTION"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
88 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
89 NAME="AEN149"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
90 >3.6.1. Data Directives</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
91 ></H2
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
92 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
93 ></P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
94 ><DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
95 CLASS="VARIABLELIST"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
96 ><DL
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
97 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
98 >FCB <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
99 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
100 >expr[,...]</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
101 >, .DB <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
102 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
103 >expr[,...]</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
104 >, .BYTE <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
105 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
106 >expr[,...]</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
107 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
108 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
109 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
110 >Include one or more constant bytes (separated by commas) in the output.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
111 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
112 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
113 >FDB <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
114 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
115 >expr[,...]</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
116 >, .DW <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
117 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
118 >expr[,...]</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
119 >, .WORD <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
120 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
121 >expr[,...]</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
122 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
123 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
124 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
125 >Include one or more words (separated by commas) in the output.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
126 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
127 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
128 >FQB <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
129 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
130 >expr[,...]</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
131 >, .QUAD <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
132 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
133 >expr[,...]</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
134 >, .4BYTE <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
135 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
136 >expr[,...]</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
137 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
138 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
139 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
140 >Include one or more double words (separated by commas) in the output.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
141 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
142 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
143 >FCC <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
144 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
145 >string</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
146 >, .ASCII <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
147 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
148 >string</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
149 >, .STR <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
150 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
151 >string</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
152 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
153 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
154 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
155 >Include a string of text in the output. The first character of the operand
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
156 is the delimiter which must appear as the last character and cannot appear
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
157 within the string. The string is included with no modifications&#62;</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
158 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
159 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
160 >FCN <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
161 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
162 >string</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
163 >, .ASCIZ <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
164 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
165 >string</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
166 >, .STRZ <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
167 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
168 >string</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
169 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
170 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
171 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
172 >Include a NUL terminated string of text in the output. The first character of
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
173 the operand is the delimiter which must appear as the last character and
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
174 cannot appear within the string. A NUL byte is automatically appended to
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
175 the string.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
176 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
177 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
178 >FCS <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
179 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
180 >string</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
181 >, .ASCIS <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
182 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
183 >string</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
184 >, .STRS <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
185 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
186 >string</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
187 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
188 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
189 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
190 >Include a string of text in the output with bit 7 of the final byte set. The
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
191 first character of the operand is the delimiter which must appear as the last
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
192 character and cannot appear within the string.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
193 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
194 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
195 >ZMB <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
196 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
197 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
198 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
199 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
200 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
201 >Include a number of NUL bytes in the output. The number must be fully resolvable
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
202 during pass 1 of assembly so no forward or external references are permitted.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
203 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
204 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
205 >ZMD <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
206 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
207 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
208 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
209 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
210 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
211 >Include a number of zero words in the output. The number must be fully
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
212 resolvable during pass 1 of assembly so no forward or external references are
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
213 permitted.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
214 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
215 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
216 >ZMQ <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
217 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
218 >expr<CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
219 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
220 ></CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
221 ></CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
222 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
223 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
224 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
225 >Include a number of zero double-words in the output. The number must be fully
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
226 resolvable during pass 1 of assembly so no forward or external references are
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
227 permitted.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
228 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
229 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
230 >RMB <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
231 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
232 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
233 >, .BLKB <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
234 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
235 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
236 >, .DS <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
237 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
238 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
239 >, .RS <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
240 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
241 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
242 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
243 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
244 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
245 >Reserve a number of bytes in the output. The number must be fully resolvable
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
246 during pass 1 of assembly so no forward or external references are permitted.
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
247 The value of the bytes is undefined.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
248 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
249 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
250 >RMD <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
251 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
252 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
253 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
254 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
255 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
256 >Reserve a number of words in the output. The number must be fully
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
257 resolvable during pass 1 of assembly so no forward or external references are
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
258 permitted. The value of the words is undefined.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
259 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
260 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
261 >RMQ <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
262 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
263 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
264 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
265 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
266 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
267 >Reserve a number of double-words in the output. The number must be fully
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
268 resolvable during pass 1 of assembly so no forward or external references are
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
269 permitted. The value of the double-words is undefined.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
270 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
271 ></DL
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
272 ></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
273 ></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
274 ><DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
275 CLASS="SECTION"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
276 ><H2
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
277 CLASS="SECTION"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
278 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
279 NAME="AEN243"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
280 >3.6.2. Address Definition</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
281 ></H2
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
282 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
283 >The directives in this section all control the addresses of symbols
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
284 or the assembly process itself.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
285 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
286 ></P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
287 ><DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
288 CLASS="VARIABLELIST"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
289 ><DL
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
290 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
291 >ORG <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
292 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
293 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
294 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
295 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
296 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
297 >Set the assembly address. The address must be fully resolvable on the
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
298 first pass so no external or forward references are permitted. ORG is not
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
299 permitted within sections when outputting to object files. For the DECB
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
300 target, each ORG directive after which output is generated will cause
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
301 a new preamble to be output. ORG is only used to determine the addresses
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
302 of symbols when the raw target is used.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
303 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
304 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
305 ><CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
306 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
307 >sym</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
308 > EQU <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
309 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
310 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
311 >, <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
312 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
313 >sym</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
314 > = <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
315 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
316 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
317 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
318 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
319 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
320 >Define the value of <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
321 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
322 >sym</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
323 > to be <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
324 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
325 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
326 >.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
327 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
328 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
329 ><CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
330 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
331 >sym</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
332 > SET <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
333 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
334 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
335 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
336 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
337 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
338 >Define the value of <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
339 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
340 >sym</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
341 > to be <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
342 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
343 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
344 >.
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
345 Unlike EQU, SET permits symbols to be defined multiple times as long as SET
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
346 is used for all instances. Use of the symbol before the first SET statement
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
347 that sets its value is undefined.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
348 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
349 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
350 >SETDP <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
351 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
352 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
353 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
354 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
355 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
356 >Inform the assembler that it can assume the DP register contains
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
357 <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
358 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
359 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
360 >. This directive is only advice to the assembler
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
361 to determine whether an address is in the direct page and has no effect
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
362 on the contents of the DP register. The value must be fully resolved during
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
363 the first assembly pass because it affects the sizes of subsequent instructions.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
364 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
365 >This directive has no effect in the object file target.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
366 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
367 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
368 >ALIGN <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
369 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
370 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
371 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
372 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
373 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
374 >Force the current assembly address to be a multiple of <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
375 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
376 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
377 >.
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
378 A series of NUL bytes is output to force the alignment, if required. The
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
379 alignment value must be fully resolved on the first pass because it affects
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
380 the addresses of subsquent instructions.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
381 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
382 >This directive is not suitable for inclusion in the middle of actual
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
383 code. It is intended to appear where the bytes output will not be executed.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
384 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
385 ></DL
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
386 ></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
387 ></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
388 ><DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
389 CLASS="SECTION"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
390 ><H2
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
391 CLASS="SECTION"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
392 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
393 NAME="AEN285"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
394 >3.6.3. Conditional Assembly</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
395 ></H2
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
396 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
397 >Portions of the source code can be excluded or included based on conditions
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
398 known at assembly time. Conditionals can be nested arbitrarily deeply. The
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
399 directives associated with conditional assembly are described in this section.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
400 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
401 >All conditionals must be fully bracketed. That is, every conditional
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
402 statement must eventually be followed by an ENDC at the same level of nesting.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
403 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
404 >Conditional expressions are only evaluated on the first assembly pass.
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
405 It is not possible to game the assembly process by having a conditional
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
406 change its value between assembly passes. Thus there is not and never will
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
407 be any equivalent of IFP1 or IFP2 as provided by other assemblers.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
408 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
409 ></P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
410 ><DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
411 CLASS="VARIABLELIST"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
412 ><DL
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
413 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
414 >IFEQ <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
415 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
416 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
417 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
418 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
419 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
420 >If <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
421 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
422 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
423 > evaluates to zero, the conditional
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
424 will be considered true.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
425 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
426 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
427 >IFNE <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
428 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
429 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
430 >, IF <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
431 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
432 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
433 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
434 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
435 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
436 >If <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
437 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
438 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
439 > evaluates to a non-zero value, the conditional
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
440 will be considered true.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
441 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
442 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
443 >IFGT <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
444 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
445 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
446 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
447 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
448 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
449 >If <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
450 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
451 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
452 > evaluates to a value greater than zero, the conditional
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
453 will be considered true.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
454 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
455 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
456 >IFGE <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
457 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
458 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
459 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
460 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
461 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
462 >If <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
463 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
464 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
465 > evaluates to a value greater than or equal to zero, the conditional
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
466 will be considered true.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
467 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
468 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
469 >IFLT <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
470 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
471 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
472 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
473 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
474 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
475 >If <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
476 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
477 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
478 > evaluates to a value less than zero, the conditional
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
479 will be considered true.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
480 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
481 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
482 >IFLE <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
483 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
484 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
485 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
486 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
487 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
488 >If <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
489 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
490 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
491 > evaluates to a value less than or equal to zero , the conditional
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
492 will be considered true.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
493 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
494 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
495 >IFDEF <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
496 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
497 >sym</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
498 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
499 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
500 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
501 >If <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
502 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
503 >sym</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
504 > is defined at this point in the assembly
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
505 process, the conditional
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
506 will be considered true.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
507 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
508 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
509 >IFNDEF <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
510 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
511 >sym</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
512 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
513 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
514 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
515 >If <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
516 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
517 >sym</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
518 > is not defined at this point in the assembly
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
519 process, the conditional
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
520 will be considered true.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
521 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
522 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
523 >ELSE</DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
524 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
525 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
526 >If the preceding conditional at the same level of nesting was false, the
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
527 statements following will be assembled. If the preceding conditional at
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
528 the same level was true, the statements following will not be assembled.
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
529 Note that the preceding conditional might have been another ELSE statement
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
530 although this behaviour is not guaranteed to be supported in future versions
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
531 of LWASM.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
532 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
533 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
534 >ENDC</DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
535 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
536 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
537 >This directive marks the end of a conditional construct. Every conditional
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
538 construct must end with an ENDC directive.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
539 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
540 ></DL
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
541 ></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
542 ></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
543 ><DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
544 CLASS="SECTION"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
545 ><H2
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
546 CLASS="SECTION"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
547 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
548 NAME="AEN349"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
549 >3.6.4. Miscelaneous Directives</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
550 ></H2
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
551 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
552 >This section includes directives that do not fit into the other
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
553 categories.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
554 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
555 ></P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
556 ><DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
557 CLASS="VARIABLELIST"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
558 ><DL
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
559 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
560 >INCLUDE <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
561 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
562 >filename</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
563 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
564 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
565 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
566 >Include the contents of <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
567 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
568 >filename</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
569 > at this point in
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
570 the assembly as though it were a part of the file currently being processed.
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
571 Note that whitespace cannot appear in the name of the file.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
572 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
573 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
574 >END <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
575 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
576 >[expr]</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
577 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
578 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
579 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
580 >This directive causes the assembler to stop assembling immediately as though
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
581 it ran out of input. For the DECB target only, <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
582 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
583 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
584 >
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
585 can be used to set the execution address of the resulting binary. For all
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
586 other targets, specifying <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
587 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
588 >expr</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
589 > will cause an error.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
590 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
591 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
592 >ERROR <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
593 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
594 >string</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
595 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
596 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
597 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
598 >Causes a custom error message to be printed at this line. This will cause
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
599 assembly to fail. This directive is most useful inside conditional constructs
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
600 to cause assembly to fail if some condition that is known bad happens.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
601 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
602 ><DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
603 >.MODULE <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
604 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
605 >string</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
606 ></DT
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
607 ><DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
608 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
609 >This directive is ignored for most output targets. If the output target
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
610 supports encoding a module name into it, <CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
611 CLASS="PARAMETER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
612 >string</CODE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
613 >
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
614 will be used as the module name.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
615 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
616 >As of version 2.2, no supported output targets support this directive.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
617 ></DD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
618 ></DL
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
619 ></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
620 ></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
621 ></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
622 ><DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
623 CLASS="NAVFOOTER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
624 ><HR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
625 ALIGN="LEFT"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
626 WIDTH="100%"><TABLE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
627 SUMMARY="Footer navigation table"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
628 WIDTH="100%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
629 BORDER="0"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
630 CELLPADDING="0"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
631 CELLSPACING="0"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
632 ><TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
633 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
634 WIDTH="33%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
635 ALIGN="left"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
636 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
637 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
638 HREF="x139.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
639 ACCESSKEY="P"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
640 >Prev</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
641 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
642 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
643 WIDTH="34%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
644 ALIGN="center"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
645 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
646 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
647 HREF="index.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
648 ACCESSKEY="H"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
649 >Home</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
650 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
651 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
652 WIDTH="33%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
653 ALIGN="right"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
654 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
655 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
656 HREF="x378.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
657 ACCESSKEY="N"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
658 >Next</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
659 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
660 ></TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
661 ><TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
662 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
663 WIDTH="33%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
664 ALIGN="left"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
665 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
666 >Numbers and Expressions</TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
667 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
668 WIDTH="34%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
669 ALIGN="center"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
670 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
671 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
672 HREF="c35.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
673 ACCESSKEY="U"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
674 >Up</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
675 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
676 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
677 WIDTH="33%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
678 ALIGN="right"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
679 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
680 >Macros</TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
681 ></TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
682 ></TABLE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
683 ></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
684 ></BODY
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
685 ></HTML
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
686 >