annotate docs/manual/x810.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
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
478
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
2 <HTML
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
3 ><HEAD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
4 ><TITLE
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
5 >Cycle Counts</TITLE
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
6 ><META
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
7 NAME="GENERATOR"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
9 REL="HOME"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
10 TITLE="LW Tool Chain"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
11 HREF="index.html"><LINK
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
12 REL="UP"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
13 TITLE="LWASM"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
14 HREF="c62.html"><LINK
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
15 REL="PREVIOUS"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
16 TITLE="Convenience Instructions"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
17 HREF="x805.html"><LINK
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
18 REL="NEXT"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
19 TITLE="LWLINK"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
20 HREF="c816.html"></HEAD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
21 ><BODY
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
22 CLASS="SECTION"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
23 BGCOLOR="#FFFFFF"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
24 TEXT="#000000"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
25 LINK="#0000FF"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
26 VLINK="#840084"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
27 ALINK="#0000FF"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
28 ><DIV
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
29 CLASS="NAVHEADER"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
30 ><TABLE
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
31 SUMMARY="Header navigation table"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
32 WIDTH="100%"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
33 BORDER="0"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
34 CELLPADDING="0"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
35 CELLSPACING="0"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
36 ><TR
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
37 ><TH
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
38 COLSPAN="3"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
39 ALIGN="center"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
40 >LW Tool Chain</TH
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
41 ></TR
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
42 ><TR
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
43 ><TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
44 WIDTH="10%"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
45 ALIGN="left"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
46 VALIGN="bottom"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
47 ><A
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
48 HREF="x805.html"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
49 ACCESSKEY="P"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
50 >Prev</A
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
51 ></TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
52 ><TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
53 WIDTH="80%"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
54 ALIGN="center"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
55 VALIGN="bottom"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
56 >Chapter 3. LWASM</TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
57 ><TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
58 WIDTH="10%"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
59 ALIGN="right"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
60 VALIGN="bottom"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
61 ><A
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
62 HREF="c816.html"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
63 ACCESSKEY="N"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
64 >Next</A
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
65 ></TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
66 ></TR
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
67 ></TABLE
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
68 ><HR
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
69 ALIGN="LEFT"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
70 WIDTH="100%"></DIV
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
71 ><DIV
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
72 CLASS="SECTION"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
73 ><H1
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
74 CLASS="SECTION"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
75 ><A
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
76 NAME="AEN810"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
77 >3.12. Cycle Counts</A
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
78 ></H1
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
79 ><P
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
80 >&#13;The following options for displaying cycle counts in listings are provided.
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
81 These options are enabled from pragmas on the command line or in the
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
82 assembly files themselves. For compatibility with other assemblers you can
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
83 use the "OPT" keyword in addition to "PRAGMA."</P
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
84 ><PRE
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
85 CLASS="PROGRAMLISTING"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
86 >opt c - enable cycle counts: [8]
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
87 opt cd - enable detailed cycle counts breaking down addressing modes: [5+3]
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
88 opt ct - show a running subtotal of cycles
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
89 opt cc - clear the running subtotal</PRE
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
90 ><P
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
91 >&#13;The assembler supports both 6809 as well as native-mode 6309 cycle counts.
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
92 In 6309 mode the counts are displayed in parenthesis instead of brackets.
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
93 In addition, some operations have a variable cycle count. In this case a
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
94 "+?" is displayed to alert the reader. Sample output is shown below.</P
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
95 ><PRE
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
96 CLASS="PROGRAMLISTING"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
97 >266f 7d25e2 (window.asm):00313 [7] 7 move tst putflg
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
98 2672 2602 (window.asm):00314 [5] 12 bne a@
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
99 2674 1e13 (window.asm):00315 [8] 20 exg x,u
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
100 2676 0dd6 (window.asm):00316 [6] 26 a@ tst is6309
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
101 2678 2618 (window.asm):00317 [5] 31 bne exit@
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
102 (window.asm):00318 opt 6309
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
103 267a 10860085 (window.asm):00319 (4) 35 b@ ldw #133
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
104 267e 113813 (window.asm):00320 (6+?) 41 tfm x+,u+
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
105 2681 30881b (window.asm):00321 (4+1) 46 leax 27,x
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
106 2684 33c81b (window.asm):00322 (4+1) 51 leau 27,u
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
107 2687 4a (window.asm):00323 (1) 52 deca
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
108 2688 26f0 (window.asm):00324 (5) 57 bne b@</PRE
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
109 ></DIV
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
110 ><DIV
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
111 CLASS="NAVFOOTER"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
112 ><HR
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
113 ALIGN="LEFT"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
114 WIDTH="100%"><TABLE
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
115 SUMMARY="Footer navigation table"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
116 WIDTH="100%"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
117 BORDER="0"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
118 CELLPADDING="0"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
119 CELLSPACING="0"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
120 ><TR
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
121 ><TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
122 WIDTH="33%"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
123 ALIGN="left"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
124 VALIGN="top"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
125 ><A
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
126 HREF="x805.html"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
127 ACCESSKEY="P"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
128 >Prev</A
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
129 ></TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
130 ><TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
131 WIDTH="34%"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
132 ALIGN="center"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
133 VALIGN="top"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
134 ><A
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
135 HREF="index.html"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
136 ACCESSKEY="H"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
137 >Home</A
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
138 ></TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
139 ><TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
140 WIDTH="33%"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
141 ALIGN="right"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
142 VALIGN="top"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
143 ><A
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
144 HREF="c816.html"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
145 ACCESSKEY="N"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
146 >Next</A
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
147 ></TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
148 ></TR
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
149 ><TR
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
150 ><TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
151 WIDTH="33%"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
152 ALIGN="left"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
153 VALIGN="top"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
154 >Convenience Instructions</TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
155 ><TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
156 WIDTH="34%"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
157 ALIGN="center"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
158 VALIGN="top"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
159 ><A
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
160 HREF="c62.html"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
161 ACCESSKEY="U"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
162 >Up</A
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
163 ></TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
164 ><TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
165 WIDTH="33%"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
166 ALIGN="right"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
167 VALIGN="top"
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
168 >LWLINK</TD
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
169 ></TR
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
170 ></TABLE
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
171 ></DIV
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
172 ></BODY
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
173 ></HTML
a71206ed966c Update manual in preparation for release
William Astle <lost@l-w.ca>
parents:
diff changeset
174 >