Mercurial > hg-old > index.cgi
comparison 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 |
comparison
equal
deleted
inserted
replaced
441:7b8d89435f30 | 442:a9521955554f |
---|---|
1523 <listitem> | 1523 <listitem> |
1524 | 1524 |
1525 <para> This is the same as the "dollarlocal" pragma except its sense is | 1525 <para> This is the same as the "dollarlocal" pragma except its sense is |
1526 reversed. That is, "dollarlocal" and "nodollarnotlocal" are equivalent and | 1526 reversed. That is, "dollarlocal" and "nodollarnotlocal" are equivalent and |
1527 "nodollarlocal" and "dollarnotlocal" are equivalent. </para> | 1527 "nodollarlocal" and "dollarnotlocal" are equivalent. </para> |
1528 | |
1529 </listitem> | |
1530 </varlistentry> | |
1531 | |
1532 <varlistentry> | |
1533 <term>pcaspcr</term> | |
1534 <listitem> | |
1535 | |
1536 <para> Normally, LWASM makes a distinction between PC and PCR in program | |
1537 counter relative addressing. In particular, the use of PC means an absolute | |
1538 offset from PC while PCR causes the assembler to calculate the offset to the | |
1539 specified operand and use that as the offset from PC. By setting this | |
1540 pragma, you can have PC treated the same as PCR. </para> | |
1541 | |
1528 | 1542 |
1529 </listitem> | 1543 </listitem> |
1530 </varlistentry> | 1544 </varlistentry> |
1531 | 1545 |
1532 </variablelist> | 1546 </variablelist> |