diff doc/manual/manual.html @ 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 b8bf63962a99
children
line wrap: on
line diff
--- a/doc/manual/manual.html	Sat Oct 30 11:51:25 2010 -0600
+++ b/doc/manual/manual.html	Sat Oct 30 12:15:00 2010 -0600
@@ -176,38 +176,38 @@
 ></DD
 ><DT
 >4. <A
-HREF="#AEN625"
+HREF="#AEN629"
 >LWLINK</A
 ></DT
 ><DD
 ><DL
 ><DT
 >4.1. <A
-HREF="#AEN628"
+HREF="#AEN632"
 >Command Line Options</A
 ></DT
 ><DT
 >4.2. <A
-HREF="#AEN725"
+HREF="#AEN729"
 >Linker Operation</A
 ></DT
 ><DT
 >4.3. <A
-HREF="#AEN739"
+HREF="#AEN743"
 >Linking Scripts</A
 ></DT
 ></DL
 ></DD
 ><DT
 >5. <A
-HREF="#AEN773"
+HREF="#AEN777"
 >Libraries and LWAR</A
 ></DT
 ><DD
 ><DL
 ><DT
 >5.1. <A
-HREF="#AEN777"
+HREF="#AEN781"
 >Command Line Options</A
 ></DT
 ></DL
@@ -229,12 +229,12 @@
 ></DT
 ><DT
 >6-1. <A
-HREF="#AEN860"
+HREF="#AEN864"
 >Object File Term Types</A
 ></DT
 ><DT
 >6-2. <A
-HREF="#AEN890"
+HREF="#AEN894"
 >Object File Operator Numbers</A
 ></DT
 ></DL
@@ -2035,6 +2035,16 @@
 reversed.  That is, "dollarlocal" and "nodollarnotlocal" are equivalent and
 "nodollarlocal" and "dollarnotlocal" are equivalent.  </P
 ></DD
+><DT
+>pcaspcr</DT
+><DD
+><P
+> 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. </P
+></DD
 ></DL
 ></DIV
 ></DIV
@@ -2043,7 +2053,7 @@
 CLASS="CHAPTER"
 ><HR><H1
 ><A
-NAME="AEN625"
+NAME="AEN629"
 ></A
 >Chapter 4. LWLINK</H1
 ><P
@@ -2054,7 +2064,7 @@
 ><HR><H2
 CLASS="SECTION"
 ><A
-NAME="AEN628"
+NAME="AEN632"
 >4.1. Command Line Options</A
 ></H2
 ><P
@@ -2251,7 +2261,7 @@
 ><HR><H2
 CLASS="SECTION"
 ><A
-NAME="AEN725"
+NAME="AEN729"
 >4.2. Linker Operation</A
 ></H2
 ><P
@@ -2307,7 +2317,7 @@
 ><HR><H2
 CLASS="SECTION"
 ><A
-NAME="AEN739"
+NAME="AEN743"
 >4.3. Linking Scripts</A
 ></H2
 ><P
@@ -2415,7 +2425,7 @@
 CLASS="CHAPTER"
 ><HR><H1
 ><A
-NAME="AEN773"
+NAME="AEN777"
 ></A
 >Chapter 5. Libraries and LWAR</H1
 ><P
@@ -2434,7 +2444,7 @@
 ><HR><H2
 CLASS="SECTION"
 ><A
-NAME="AEN777"
+NAME="AEN781"
 >5.1. Command Line Options</A
 ></H2
 ><P
@@ -2635,7 +2645,7 @@
 ><DIV
 CLASS="TABLE"
 ><A
-NAME="AEN860"
+NAME="AEN864"
 ></A
 ><P
 ><B
@@ -2707,7 +2717,7 @@
 ><DIV
 CLASS="TABLE"
 ><A
-NAME="AEN890"
+NAME="AEN894"
 ></A
 ><P
 ><B