Mercurial > hg-old > index.cgi
comparison 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 |
comparison
equal
deleted
inserted
replaced
441:7b8d89435f30 | 442:a9521955554f |
---|---|
15 REL="PREVIOUS" | 15 REL="PREVIOUS" |
16 TITLE="Object Files and Sections" | 16 TITLE="Object Files and Sections" |
17 HREF="x517.html"><LINK | 17 HREF="x517.html"><LINK |
18 REL="NEXT" | 18 REL="NEXT" |
19 TITLE="LWLINK" | 19 TITLE="LWLINK" |
20 HREF="c625.html"></HEAD | 20 HREF="c629.html"></HEAD |
21 ><BODY | 21 ><BODY |
22 CLASS="SECTION" | 22 CLASS="SECTION" |
23 BGCOLOR="#FFFFFF" | 23 BGCOLOR="#FFFFFF" |
24 TEXT="#000000" | 24 TEXT="#000000" |
25 LINK="#0000FF" | 25 LINK="#0000FF" |
57 ><TD | 57 ><TD |
58 WIDTH="10%" | 58 WIDTH="10%" |
59 ALIGN="right" | 59 ALIGN="right" |
60 VALIGN="bottom" | 60 VALIGN="bottom" |
61 ><A | 61 ><A |
62 HREF="c625.html" | 62 HREF="c629.html" |
63 ACCESSKEY="N" | 63 ACCESSKEY="N" |
64 >Next</A | 64 >Next</A |
65 ></TD | 65 ></TD |
66 ></TR | 66 ></TR |
67 ></TABLE | 67 ></TABLE |
202 ><DD | 202 ><DD |
203 ><P | 203 ><P |
204 > This is the same as the "dollarlocal" pragma except its sense is | 204 > This is the same as the "dollarlocal" pragma except its sense is |
205 reversed. That is, "dollarlocal" and "nodollarnotlocal" are equivalent and | 205 reversed. That is, "dollarlocal" and "nodollarnotlocal" are equivalent and |
206 "nodollarlocal" and "dollarnotlocal" are equivalent. </P | 206 "nodollarlocal" and "dollarnotlocal" are equivalent. </P |
207 ></DD | |
208 ><DT | |
209 >pcaspcr</DT | |
210 ><DD | |
211 ><P | |
212 > Normally, LWASM makes a distinction between PC and PCR in program | |
213 counter relative addressing. In particular, the use of PC means an absolute | |
214 offset from PC while PCR causes the assembler to calculate the offset to the | |
215 specified operand and use that as the offset from PC. By setting this | |
216 pragma, you can have PC treated the same as PCR. </P | |
207 ></DD | 217 ></DD |
208 ></DL | 218 ></DL |
209 ></DIV | 219 ></DIV |
210 ></DIV | 220 ></DIV |
211 ><DIV | 221 ><DIV |
240 ><TD | 250 ><TD |
241 WIDTH="33%" | 251 WIDTH="33%" |
242 ALIGN="right" | 252 ALIGN="right" |
243 VALIGN="top" | 253 VALIGN="top" |
244 ><A | 254 ><A |
245 HREF="c625.html" | 255 HREF="c629.html" |
246 ACCESSKEY="N" | 256 ACCESSKEY="N" |
247 >Next</A | 257 >Next</A |
248 ></TD | 258 ></TD |
249 ></TR | 259 ></TR |
250 ><TR | 260 ><TR |