comparison docs/manual/c45.html @ 231:2cc599f1bebf

Added --define to lwasm documentation. Added documentation of the -D/--define command line option for lwasm. It has been present for a long time but has somehow escaped documentation.
author William Astle <lost@l-w.ca>
date Sun, 15 Jul 2012 23:12:09 -0600
parents 83b7b4ce3bbd
children 0bc1c88fe776
comparison
equal deleted inserted replaced
230:e09985968e64 231:2cc599f1bebf
12 REL="PREVIOUS" 12 REL="PREVIOUS"
13 TITLE="Object Files" 13 TITLE="Object Files"
14 HREF="x37.html"><LINK 14 HREF="x37.html"><LINK
15 REL="NEXT" 15 REL="NEXT"
16 TITLE="Dialects" 16 TITLE="Dialects"
17 HREF="x163.html"></HEAD 17 HREF="x170.html"></HEAD
18 ><BODY 18 ><BODY
19 CLASS="CHAPTER" 19 CLASS="CHAPTER"
20 BGCOLOR="#FFFFFF" 20 BGCOLOR="#FFFFFF"
21 TEXT="#000000" 21 TEXT="#000000"
22 LINK="#0000FF" 22 LINK="#0000FF"
54 ><TD 54 ><TD
55 WIDTH="10%" 55 WIDTH="10%"
56 ALIGN="right" 56 ALIGN="right"
57 VALIGN="bottom" 57 VALIGN="bottom"
58 ><A 58 ><A
59 HREF="x163.html" 59 HREF="x170.html"
60 ACCESSKEY="N" 60 ACCESSKEY="N"
61 >Next</A 61 >Next</A
62 ></TD 62 ></TD
63 ></TR 63 ></TR
64 ></TABLE 64 ></TABLE
263 ><P 263 ><P
264 >Add <CODE 264 >Add <CODE
265 CLASS="OPTION" 265 CLASS="OPTION"
266 >path</CODE 266 >path</CODE
267 > to the end of the include path.</P 267 > to the end of the include path.</P
268 ></DD
269 ><DT
270 ><CODE
271 CLASS="OPTION"
272 >--define=SYM[=VAL]</CODE
273 >, <CODE
274 CLASS="OPTION"
275 >-I SYM[=VAL]</CODE
276 ></DT
277 ><DD
278 ><P
279 >Pre-defines the symbol SYM as either the specified VAL. If VAL is omitted,
280 the symbol is defined as 1. The symbol will be defined as though it were
281 defined using the SET directive in the assembly source. That means it can
282 be overridden by a SET directive within the source code. Attempting to
283 redefine SYM using EQU will result in a multiply defined symbol error.</P
268 ></DD 284 ></DD
269 ><DT 285 ><DT
270 ><CODE 286 ><CODE
271 CLASS="OPTION" 287 CLASS="OPTION"
272 >--help</CODE 288 >--help</CODE
348 ><TD 364 ><TD
349 WIDTH="33%" 365 WIDTH="33%"
350 ALIGN="right" 366 ALIGN="right"
351 VALIGN="top" 367 VALIGN="top"
352 ><A 368 ><A
353 HREF="x163.html" 369 HREF="x170.html"
354 ACCESSKEY="N" 370 ACCESSKEY="N"
355 >Next</A 371 >Next</A
356 ></TD 372 ></TD
357 ></TR 373 ></TR
358 ><TR 374 ><TR