changeset 167:751b99efb1fc

Updated docs
author lost
date Sat, 31 Jan 2009 18:59:40 +0000
parents 178995c346d9
children 2dd050293be6
files doc/manual.docbook.sgml
diffstat 1 files changed, 59 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/doc/manual.docbook.sgml	Sat Jan 31 18:22:58 2009 +0000
+++ b/doc/manual.docbook.sgml	Sat Jan 31 18:59:40 2009 +0000
@@ -269,6 +269,13 @@
 eight bit modes, and the greater than sign (">") for forced sixteen bit modes.
 </para>
 
+<para>
+Additionally, LWASM supports using the asterisk ("*") to indicate
+base page addressing. This should not be used in hand-written source code,
+however, because it is non-standard and may or may not be present in future
+versions of LWASM.
+</para>
+
 </section>
 
 <section>
@@ -378,24 +385,35 @@
 <title>Data Directives</title>
 <variablelist>
 <varlistentry><term>FCB <parameter>expr[,...]</parameter></term>
+<term>.DB <parameter>expr[,...]</parameter></term>
+<term>.BYTE <parameter>expr[,...]</parameter></term>
 <listitem>
 <para>Include one or more constant bytes (separated by commas) in the output.</para>
 </listitem>
 </varlistentry>
 
-<varlistentry><term>FDB <parameter>expr[,...]</parameter></term>
+<varlistentry>
+<term>FDB <parameter>expr[,...]</parameter></term>
+<term>.DW <parameter>expr[,...]</parameter></term>
+<term>.WORD <parameter>expr[,...]</parameter></term>
 <listitem>
 <para>Include one or more words (separated by commas) in the output.</para>
 </listitem>
 </varlistentry>
 
-<varlistentry><term>FQB <parameter>expr[,...]</parameter></term>
+<varlistentry>
+<term>FQB <parameter>expr[,...]</parameter></term>
+<term>.QUAD <parameter>expr[,...]</parameter></term>
+<term>.4BYTE <parameter>expr[,...]</parameter></term>
 <listitem>
 <para>Include one or more double words (separated by commas) in the output.</para>
 </listitem>
 </varlistentry>
 
-<varlistentry><term>FCC <parameter>string</parameter></term>
+<varlistentry>
+<term>FCC <parameter>string</parameter></term>
+<term>.ASCII <parameter>string</parameter></term>
+<term>.STR <parameter>string</parameter></term>
 <listitem>
 <para>
 Include a string of text in the output. The first character of the operand
@@ -405,7 +423,10 @@
 </listitem>
 </varlistentry>
 
-<varlistentry><term>FCN <parameter>string</parameter></term>
+<varlistentry>
+<term>FCN <parameter>string</parameter></term>
+<term>.ASCIZ <parameter>string</parameter></term>
+<term>.STRZ <parameter>string</parameter></term>
 <listitem>
 <para>
 Include a NUL terminated string of text in the output. The first character of
@@ -416,7 +437,10 @@
 </listitem>
 </varlistentry>
 
-<varlistentry><term>FCS <parameter>string</parameter></term>
+<varlistentry>
+<term>FCS <parameter>string</parameter></term>
+<term>.ASCIS <parameter>string</parameter></term>
+<term>.STRS <parameter>string</parameter></term>
 <listitem>
 <para>
 Include a string of text in the output with bit 7 of the final byte set. The
@@ -455,7 +479,11 @@
 </listitem>
 </varlistentry>
 
-<varlistentry><term>RMB <parameter>expr</parameter></term>
+<varlistentry>
+<term>RMB <parameter>expr</parameter></term>
+<term>.BLKB <parameter>expr</parameter></term>
+<term>.DS <parameter>expr</parameter></term>
+<term>.RS <parameter>expr</parameter></term>
 <listitem>
 <para>
 Reserve a number of bytes in the output. The number must be fully resolvable
@@ -714,6 +742,20 @@
 </listitem>
 </varlistentry>
 
+<varlistentry>
+<term>.MODULE <parameter>string</parameter></term>
+<listitem>
+<para>
+This directive is ignored for most output targets. If the output target
+supports encoding a module name into it, <parameter>string</parameter>
+will be used as the module name.
+</para>
+<para>
+As of version 2.2, no supported output targets support this directive.
+</para>
+</listitem>
+</varlistentry>
+
 </variablelist>
 </section>
 
@@ -885,6 +927,7 @@
 <varlistentry>
 <term>SECTION <parameter>name[,flags]</parameter></term>
 <term>SECT <parameter>name[,flags]</parameter></term>
+<term>.AREA <parameter>name[,flags]</parameter></term>
 <listitem>
 <para>
 Instructs the assembler that the code following this directive is to be
@@ -941,12 +984,22 @@
 
 <varlistentry>
 <term><parameter>sym</parameter> EXPORT</term>
+<term><parameter>sym</parameter> .GLOBL</term>
+
+<term>EXPORT <parameter>sym</parameter></term>
+<term>.GLOBL <parameter>sym</parameter></term>
+
 <listitem>
 <para>
 This directive defines <parameter>sym</parameter> as an exported symbol.
 This directive may occur at any point in the source code, even before the
 definition of the exported symbol.
 </para>
+<para>
+Note that <parameter>sym</parameter> may appear as the operand or as the
+statement's symbol. If there is a symbol on the statement, that will
+take precedence over any operand that is present.
+</para>
 </listitem>
 </varlistentry>