Mercurial > hg-old > index.cgi
diff doc/manual/x580.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/x580.html Sat Oct 30 11:51:25 2010 -0600 +++ b/doc/manual/x580.html Sat Oct 30 12:15:00 2010 -0600 @@ -17,7 +17,7 @@ HREF="x517.html"><LINK REL="NEXT" TITLE="LWLINK" -HREF="c625.html"></HEAD +HREF="c629.html"></HEAD ><BODY CLASS="SECTION" BGCOLOR="#FFFFFF" @@ -59,7 +59,7 @@ ALIGN="right" VALIGN="bottom" ><A -HREF="c625.html" +HREF="c629.html" ACCESSKEY="N" >Next</A ></TD @@ -205,6 +205,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 @@ -242,7 +252,7 @@ ALIGN="right" VALIGN="top" ><A -HREF="c625.html" +HREF="c629.html" ACCESSKEY="N" >Next</A ></TD