annotate doc/manual/x144.html @ 276:23034db7dd8a 2.5

fixed expression 'slots' to not store null on a pass 1 store
author lost
date Mon, 31 Aug 2009 08:39:36 +0000
parents d5392bb5da3c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
272
d5392bb5da3c Added generated files
lost
parents:
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
d5392bb5da3c Added generated files
lost
parents:
diff changeset
2 <HTML
d5392bb5da3c Added generated files
lost
parents:
diff changeset
3 ><HEAD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
4 ><TITLE
d5392bb5da3c Added generated files
lost
parents:
diff changeset
5 >Dialects</TITLE
d5392bb5da3c Added generated files
lost
parents:
diff changeset
6 ><META
d5392bb5da3c Added generated files
lost
parents:
diff changeset
7 NAME="GENERATOR"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
d5392bb5da3c Added generated files
lost
parents:
diff changeset
9 REL="HOME"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
10 TITLE="LW Tool Chain"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
11 HREF="index.html"><LINK
d5392bb5da3c Added generated files
lost
parents:
diff changeset
12 REL="UP"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
13 TITLE="LWASM"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
14 HREF="c43.html"><LINK
d5392bb5da3c Added generated files
lost
parents:
diff changeset
15 REL="PREVIOUS"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
16 TITLE="LWASM"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
17 HREF="c43.html"><LINK
d5392bb5da3c Added generated files
lost
parents:
diff changeset
18 REL="NEXT"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
19 TITLE="Source Format"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
20 HREF="x151.html"></HEAD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
21 ><BODY
d5392bb5da3c Added generated files
lost
parents:
diff changeset
22 CLASS="SECTION"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
23 BGCOLOR="#FFFFFF"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
24 TEXT="#000000"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
25 LINK="#0000FF"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
26 VLINK="#840084"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
27 ALINK="#0000FF"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
28 ><DIV
d5392bb5da3c Added generated files
lost
parents:
diff changeset
29 CLASS="NAVHEADER"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
30 ><TABLE
d5392bb5da3c Added generated files
lost
parents:
diff changeset
31 SUMMARY="Header navigation table"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
32 WIDTH="100%"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
33 BORDER="0"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
34 CELLPADDING="0"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
35 CELLSPACING="0"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
36 ><TR
d5392bb5da3c Added generated files
lost
parents:
diff changeset
37 ><TH
d5392bb5da3c Added generated files
lost
parents:
diff changeset
38 COLSPAN="3"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
39 ALIGN="center"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
40 >LW Tool Chain</TH
d5392bb5da3c Added generated files
lost
parents:
diff changeset
41 ></TR
d5392bb5da3c Added generated files
lost
parents:
diff changeset
42 ><TR
d5392bb5da3c Added generated files
lost
parents:
diff changeset
43 ><TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
44 WIDTH="10%"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
45 ALIGN="left"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
46 VALIGN="bottom"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
47 ><A
d5392bb5da3c Added generated files
lost
parents:
diff changeset
48 HREF="c43.html"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
49 ACCESSKEY="P"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
50 >Prev</A
d5392bb5da3c Added generated files
lost
parents:
diff changeset
51 ></TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
52 ><TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
53 WIDTH="80%"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
54 ALIGN="center"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
55 VALIGN="bottom"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
56 >Chapter 3. LWASM</TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
57 ><TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
58 WIDTH="10%"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
59 ALIGN="right"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
60 VALIGN="bottom"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
61 ><A
d5392bb5da3c Added generated files
lost
parents:
diff changeset
62 HREF="x151.html"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
63 ACCESSKEY="N"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
64 >Next</A
d5392bb5da3c Added generated files
lost
parents:
diff changeset
65 ></TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
66 ></TR
d5392bb5da3c Added generated files
lost
parents:
diff changeset
67 ></TABLE
d5392bb5da3c Added generated files
lost
parents:
diff changeset
68 ><HR
d5392bb5da3c Added generated files
lost
parents:
diff changeset
69 ALIGN="LEFT"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
70 WIDTH="100%"></DIV
d5392bb5da3c Added generated files
lost
parents:
diff changeset
71 ><DIV
d5392bb5da3c Added generated files
lost
parents:
diff changeset
72 CLASS="SECTION"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
73 ><H1
d5392bb5da3c Added generated files
lost
parents:
diff changeset
74 CLASS="SECTION"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
75 ><A
d5392bb5da3c Added generated files
lost
parents:
diff changeset
76 NAME="AEN144"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
77 >3.2. Dialects</A
d5392bb5da3c Added generated files
lost
parents:
diff changeset
78 ></H1
d5392bb5da3c Added generated files
lost
parents:
diff changeset
79 ><P
d5392bb5da3c Added generated files
lost
parents:
diff changeset
80 >LWASM supports all documented MC6809 instructions as defined by Motorola.
d5392bb5da3c Added generated files
lost
parents:
diff changeset
81 It also supports all known HD6309 instructions. While there is general
d5392bb5da3c Added generated files
lost
parents:
diff changeset
82 agreement on the pneumonics for most of the 6309 instructions, there is some
d5392bb5da3c Added generated files
lost
parents:
diff changeset
83 variance with the block transfer instructions. TFM for all four variations
d5392bb5da3c Added generated files
lost
parents:
diff changeset
84 seems to have gained the most traction and, thus, this is the form that is
d5392bb5da3c Added generated files
lost
parents:
diff changeset
85 recommended for LWASM. However, it also supports COPY, COPY-, IMP, EXP,
d5392bb5da3c Added generated files
lost
parents:
diff changeset
86 TFRP, TFRM, TFRS, and TFRR. It further adds COPY+ as a synomym for COPY,
d5392bb5da3c Added generated files
lost
parents:
diff changeset
87 IMPLODE for IMP, and EXPAND for EXP.</P
d5392bb5da3c Added generated files
lost
parents:
diff changeset
88 ><P
d5392bb5da3c Added generated files
lost
parents:
diff changeset
89 >By default, LWASM accepts 6309 instructions. However, using the
d5392bb5da3c Added generated files
lost
parents:
diff changeset
90 <CODE
d5392bb5da3c Added generated files
lost
parents:
diff changeset
91 CLASS="PARAMETER"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
92 >--6809</CODE
d5392bb5da3c Added generated files
lost
parents:
diff changeset
93 > parameter, you can cause it to throw errors on
d5392bb5da3c Added generated files
lost
parents:
diff changeset
94 6309 instructions instead.</P
d5392bb5da3c Added generated files
lost
parents:
diff changeset
95 ><P
d5392bb5da3c Added generated files
lost
parents:
diff changeset
96 >The standard addressing mode specifiers are supported. These are the
d5392bb5da3c Added generated files
lost
parents:
diff changeset
97 hash sign ("#") for immediate mode, the less than sign ("&lt;") for forced
d5392bb5da3c Added generated files
lost
parents:
diff changeset
98 eight bit modes, and the greater than sign ("&gt;") for forced sixteen bit modes.</P
d5392bb5da3c Added generated files
lost
parents:
diff changeset
99 ><P
d5392bb5da3c Added generated files
lost
parents:
diff changeset
100 >Additionally, LWASM supports using the asterisk ("*") to indicate
d5392bb5da3c Added generated files
lost
parents:
diff changeset
101 base page addressing. This should not be used in hand-written source code,
d5392bb5da3c Added generated files
lost
parents:
diff changeset
102 however, because it is non-standard and may or may not be present in future
d5392bb5da3c Added generated files
lost
parents:
diff changeset
103 versions of LWASM.</P
d5392bb5da3c Added generated files
lost
parents:
diff changeset
104 ></DIV
d5392bb5da3c Added generated files
lost
parents:
diff changeset
105 ><DIV
d5392bb5da3c Added generated files
lost
parents:
diff changeset
106 CLASS="NAVFOOTER"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
107 ><HR
d5392bb5da3c Added generated files
lost
parents:
diff changeset
108 ALIGN="LEFT"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
109 WIDTH="100%"><TABLE
d5392bb5da3c Added generated files
lost
parents:
diff changeset
110 SUMMARY="Footer navigation table"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
111 WIDTH="100%"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
112 BORDER="0"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
113 CELLPADDING="0"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
114 CELLSPACING="0"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
115 ><TR
d5392bb5da3c Added generated files
lost
parents:
diff changeset
116 ><TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
117 WIDTH="33%"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
118 ALIGN="left"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
119 VALIGN="top"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
120 ><A
d5392bb5da3c Added generated files
lost
parents:
diff changeset
121 HREF="c43.html"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
122 ACCESSKEY="P"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
123 >Prev</A
d5392bb5da3c Added generated files
lost
parents:
diff changeset
124 ></TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
125 ><TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
126 WIDTH="34%"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
127 ALIGN="center"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
128 VALIGN="top"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
129 ><A
d5392bb5da3c Added generated files
lost
parents:
diff changeset
130 HREF="index.html"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
131 ACCESSKEY="H"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
132 >Home</A
d5392bb5da3c Added generated files
lost
parents:
diff changeset
133 ></TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
134 ><TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
135 WIDTH="33%"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
136 ALIGN="right"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
137 VALIGN="top"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
138 ><A
d5392bb5da3c Added generated files
lost
parents:
diff changeset
139 HREF="x151.html"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
140 ACCESSKEY="N"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
141 >Next</A
d5392bb5da3c Added generated files
lost
parents:
diff changeset
142 ></TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
143 ></TR
d5392bb5da3c Added generated files
lost
parents:
diff changeset
144 ><TR
d5392bb5da3c Added generated files
lost
parents:
diff changeset
145 ><TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
146 WIDTH="33%"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
147 ALIGN="left"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
148 VALIGN="top"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
149 >LWASM</TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
150 ><TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
151 WIDTH="34%"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
152 ALIGN="center"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
153 VALIGN="top"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
154 ><A
d5392bb5da3c Added generated files
lost
parents:
diff changeset
155 HREF="c43.html"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
156 ACCESSKEY="U"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
157 >Up</A
d5392bb5da3c Added generated files
lost
parents:
diff changeset
158 ></TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
159 ><TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
160 WIDTH="33%"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
161 ALIGN="right"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
162 VALIGN="top"
d5392bb5da3c Added generated files
lost
parents:
diff changeset
163 >Source Format</TD
d5392bb5da3c Added generated files
lost
parents:
diff changeset
164 ></TR
d5392bb5da3c Added generated files
lost
parents:
diff changeset
165 ></TABLE
d5392bb5da3c Added generated files
lost
parents:
diff changeset
166 ></DIV
d5392bb5da3c Added generated files
lost
parents:
diff changeset
167 ></BODY
d5392bb5da3c Added generated files
lost
parents:
diff changeset
168 ></HTML
d5392bb5da3c Added generated files
lost
parents:
diff changeset
169 >