Mercurial > hg > index.cgi
annotate docs/manual/x805.html @ 478:a71206ed966c lwtools-4.16
Update manual in preparation for release
author | William Astle <lost@l-w.ca> |
---|---|
date | Wed, 12 Dec 2018 20:00:59 -0700 |
parents | cad5937314cb |
children |
rev | line source |
---|---|
455 | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"> |
2 <HTML | |
3 ><HEAD | |
4 ><TITLE | |
478
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
5 >Convenience Instructions</TITLE |
455 | 6 ><META |
7 NAME="GENERATOR" | |
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK | |
9 REL="HOME" | |
10 TITLE="LW Tool Chain" | |
11 HREF="index.html"><LINK | |
12 REL="UP" | |
13 TITLE="LWASM" | |
14 HREF="c62.html"><LINK | |
15 REL="PREVIOUS" | |
478
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
16 TITLE="Assembler Modes and Pragmas" |
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
17 HREF="x659.html"><LINK |
455 | 18 REL="NEXT" |
478
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
19 TITLE="Cycle Counts" |
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
20 HREF="x810.html"></HEAD |
455 | 21 ><BODY |
22 CLASS="SECTION" | |
23 BGCOLOR="#FFFFFF" | |
24 TEXT="#000000" | |
25 LINK="#0000FF" | |
26 VLINK="#840084" | |
27 ALINK="#0000FF" | |
28 ><DIV | |
29 CLASS="NAVHEADER" | |
30 ><TABLE | |
31 SUMMARY="Header navigation table" | |
32 WIDTH="100%" | |
33 BORDER="0" | |
34 CELLPADDING="0" | |
35 CELLSPACING="0" | |
36 ><TR | |
37 ><TH | |
38 COLSPAN="3" | |
39 ALIGN="center" | |
40 >LW Tool Chain</TH | |
41 ></TR | |
42 ><TR | |
43 ><TD | |
44 WIDTH="10%" | |
45 ALIGN="left" | |
46 VALIGN="bottom" | |
47 ><A | |
478
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
48 HREF="x659.html" |
455 | 49 ACCESSKEY="P" |
50 >Prev</A | |
51 ></TD | |
52 ><TD | |
53 WIDTH="80%" | |
54 ALIGN="center" | |
55 VALIGN="bottom" | |
56 >Chapter 3. LWASM</TD | |
57 ><TD | |
58 WIDTH="10%" | |
59 ALIGN="right" | |
60 VALIGN="bottom" | |
61 ><A | |
478
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
62 HREF="x810.html" |
455 | 63 ACCESSKEY="N" |
64 >Next</A | |
65 ></TD | |
66 ></TR | |
67 ></TABLE | |
68 ><HR | |
69 ALIGN="LEFT" | |
70 WIDTH="100%"></DIV | |
71 ><DIV | |
72 CLASS="SECTION" | |
73 ><H1 | |
74 CLASS="SECTION" | |
75 ><A | |
478
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
76 NAME="CONVINST" |
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
77 >3.11. Convenience Instructions</A |
455 | 78 ></H1 |
79 ><P | |
478
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
80 > Similar to the 6800 compatibility instructions (pragma 6800compat) these |
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
81 pragma 6809conv and pragma 6309conv enable convenience extensions to the |
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
82 6809 and 6309 instruction set. Originally intended for compatibility with |
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
83 the MACRO-80c assembler, these have proven useful in large codebases that |
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
84 target both the 6809 and the 6309.</P |
455 | 85 ><P |
478
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
86 > The 6809 extensions are straightforward with the exception of "TSTD" which |
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
87 assembles as "STD -2,S". A benefit of using these is they will "just work" |
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
88 and take on their 6309 equivalent when you enable 6309 assembly mode. |
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
89 Supported instructions: ASRD, CLRD, COMD, LSLD, LSRD, NEGD, TSTD.</P |
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
90 ><P |
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
91 > 6309 extensions are based on common patterns described by Chris Burke and |
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
92 Darren Atkinson in their 6309 documentation and include the following |
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
93 instructions: ASRQ, CLRQ, COMQ, LSLE, LSLF, LSLQ, LSRQ, NEGE, |
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
94 NEGF, NEGW, NEGQ, TSTQ.</P |
455 | 95 ></DIV |
96 ><DIV | |
97 CLASS="NAVFOOTER" | |
98 ><HR | |
99 ALIGN="LEFT" | |
100 WIDTH="100%"><TABLE | |
101 SUMMARY="Footer navigation table" | |
102 WIDTH="100%" | |
103 BORDER="0" | |
104 CELLPADDING="0" | |
105 CELLSPACING="0" | |
106 ><TR | |
107 ><TD | |
108 WIDTH="33%" | |
109 ALIGN="left" | |
110 VALIGN="top" | |
111 ><A | |
478
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
112 HREF="x659.html" |
455 | 113 ACCESSKEY="P" |
114 >Prev</A | |
115 ></TD | |
116 ><TD | |
117 WIDTH="34%" | |
118 ALIGN="center" | |
119 VALIGN="top" | |
120 ><A | |
121 HREF="index.html" | |
122 ACCESSKEY="H" | |
123 >Home</A | |
124 ></TD | |
125 ><TD | |
126 WIDTH="33%" | |
127 ALIGN="right" | |
128 VALIGN="top" | |
129 ><A | |
478
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
130 HREF="x810.html" |
455 | 131 ACCESSKEY="N" |
132 >Next</A | |
133 ></TD | |
134 ></TR | |
135 ><TR | |
136 ><TD | |
137 WIDTH="33%" | |
138 ALIGN="left" | |
139 VALIGN="top" | |
478
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
140 >Assembler Modes and Pragmas</TD |
455 | 141 ><TD |
142 WIDTH="34%" | |
143 ALIGN="center" | |
144 VALIGN="top" | |
145 ><A | |
146 HREF="c62.html" | |
147 ACCESSKEY="U" | |
148 >Up</A | |
149 ></TD | |
150 ><TD | |
151 WIDTH="33%" | |
152 ALIGN="right" | |
153 VALIGN="top" | |
478
a71206ed966c
Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
455
diff
changeset
|
154 >Cycle Counts</TD |
455 | 155 ></TR |
156 ></TABLE | |
157 ></DIV | |
158 ></BODY | |
159 ></HTML | |
160 > |