diff 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
line wrap: on
line diff
--- a/docs/manual/c45.html	Sun Jul 15 21:52:24 2012 -0600
+++ b/docs/manual/c45.html	Sun Jul 15 23:12:09 2012 -0600
@@ -14,7 +14,7 @@
 HREF="x37.html"><LINK
 REL="NEXT"
 TITLE="Dialects"
-HREF="x163.html"></HEAD
+HREF="x170.html"></HEAD
 ><BODY
 CLASS="CHAPTER"
 BGCOLOR="#FFFFFF"
@@ -56,7 +56,7 @@
 ALIGN="right"
 VALIGN="bottom"
 ><A
-HREF="x163.html"
+HREF="x170.html"
 ACCESSKEY="N"
 >Next</A
 ></TD
@@ -269,6 +269,22 @@
 ><DT
 ><CODE
 CLASS="OPTION"
+>--define=SYM[=VAL]</CODE
+>, <CODE
+CLASS="OPTION"
+>-I SYM[=VAL]</CODE
+></DT
+><DD
+><P
+>Pre-defines the symbol SYM as either the specified VAL. If VAL is omitted,
+the symbol is defined as 1.  The symbol will be defined as though it were
+defined using the SET directive in the assembly source.  That means it can
+be overridden by a SET directive within the source code.  Attempting to
+redefine SYM using EQU will result in a multiply defined symbol error.</P
+></DD
+><DT
+><CODE
+CLASS="OPTION"
 >--help</CODE
 >, <CODE
 CLASS="OPTION"
@@ -350,7 +366,7 @@
 ALIGN="right"
 VALIGN="top"
 ><A
-HREF="x163.html"
+HREF="x170.html"
 ACCESSKEY="N"
 >Next</A
 ></TD