diff doc/manual.docbook.sgml @ 442:a9521955554f 3.0

Added pragma pcaspcr to treat PC as PCR; additional fixes for PCR addressing modes
author lost@l-w.ca
date Sat, 30 Oct 2010 12:15:00 -0600
parents 637f46c5b2b7
children
line wrap: on
line diff
--- a/doc/manual.docbook.sgml	Sat Oct 30 11:51:25 2010 -0600
+++ b/doc/manual.docbook.sgml	Sat Oct 30 12:15:00 2010 -0600
@@ -1529,6 +1529,20 @@
 </listitem>
 </varlistentry>
 
+<varlistentry>
+<term>pcaspcr</term>
+<listitem>
+
+<para> Normally, LWASM makes a distinction between PC and PCR in program
+counter relative addressing. In particular, the use of PC means an absolute
+offset from PC while PCR causes the assembler to calculate the offset to the
+specified operand and use that as the offset from PC. By setting this
+pragma, you can have PC treated the same as PCR. </para>
+
+
+</listitem>
+</varlistentry>
+
 </variablelist>
 
 </section>