Mercurial > hg > index.cgi
annotate docs/manual/x574.html @ 396:d0c0fede5021
Update to gcc6809lw patch which may help compilation of some sources
Due to persistent random compiler crashes and errors related to "M_REGS",
this patch update (4.6.4-2) essentially removes the varius constraints
allowing the "soft registers" in most operations. It was causing more
problems than it solved and it is not clear that the logic behind those soft
registers even makes sense any more.
This patch also fixes a bogus comparison related to selecting the right size
for a constant. Instead of the excessively clever comparison scheme that was
previously in use, the comparisons have been replaced with straight forward
comparisions for the top and bottom of the relevant 2's complement ranges.
author | William Astle <lost@l-w.ca> |
---|---|
date | Mon, 20 Jul 2015 22:32:41 -0600 |
parents | fc166b3bbae3 |
children |
rev | line source |
---|---|
394
fc166b3bbae3
Update manual for recent additions.
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"> |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
2 <HTML |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
3 ><HEAD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
4 ><TITLE |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
5 >Structures</TITLE |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
6 ><META |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
7 NAME="GENERATOR" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
9 REL="HOME" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
10 TITLE="LW Tool Chain" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
11 HREF="index.html"><LINK |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
12 REL="UP" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
13 TITLE="LWASM" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
14 HREF="c62.html"><LINK |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
15 REL="PREVIOUS" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
16 TITLE="Macros" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
17 HREF="x551.html"><LINK |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
18 REL="NEXT" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
19 TITLE="Object Files and Sections" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
20 HREF="x595.html"></HEAD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
21 ><BODY |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
22 CLASS="SECTION" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
23 BGCOLOR="#FFFFFF" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
24 TEXT="#000000" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
25 LINK="#0000FF" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
26 VLINK="#840084" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
27 ALINK="#0000FF" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
28 ><DIV |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
29 CLASS="NAVHEADER" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
30 ><TABLE |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
31 SUMMARY="Header navigation table" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
32 WIDTH="100%" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
33 BORDER="0" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
34 CELLPADDING="0" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
35 CELLSPACING="0" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
36 ><TR |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
37 ><TH |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
38 COLSPAN="3" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
39 ALIGN="center" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
40 >LW Tool Chain</TH |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
41 ></TR |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
42 ><TR |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
43 ><TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
44 WIDTH="10%" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
45 ALIGN="left" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
46 VALIGN="bottom" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
47 ><A |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
48 HREF="x551.html" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
49 ACCESSKEY="P" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
50 >Prev</A |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
51 ></TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
52 ><TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
53 WIDTH="80%" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
54 ALIGN="center" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
55 VALIGN="bottom" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
56 >Chapter 3. LWASM</TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
57 ><TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
58 WIDTH="10%" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
59 ALIGN="right" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
60 VALIGN="bottom" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
61 ><A |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
62 HREF="x595.html" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
63 ACCESSKEY="N" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
64 >Next</A |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
65 ></TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
66 ></TR |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
67 ></TABLE |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
68 ><HR |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
69 ALIGN="LEFT" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
70 WIDTH="100%"></DIV |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
71 ><DIV |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
72 CLASS="SECTION" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
73 ><H1 |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
74 CLASS="SECTION" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
75 ><A |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
76 NAME="AEN574" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
77 >3.8. Structures</A |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
78 ></H1 |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
79 ><P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
80 > Structures are used to group related data in a fixed structure. A structure |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
81 consists a number of fields, defined in sequential order and which take up |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
82 specified size. The assembler does not enforce any means of access within a |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
83 structure; it assumes that whatever you are doing, you intended to do. |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
84 There are two pseudo ops that are used for defining structures. </P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
85 ><P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
86 ></P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
87 ><DIV |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
88 CLASS="VARIABLELIST" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
89 ><DL |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
90 ><DT |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
91 ><CODE |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
92 CLASS="PARAMETER" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
93 >structname</CODE |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
94 > STRUCT</DT |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
95 ><DD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
96 ><P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
97 > This directive is used to begin the definition of a structure with name |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
98 <CODE |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
99 CLASS="PARAMETER" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
100 >structname</CODE |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
101 >. Subsequent statements all form part of |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
102 the structure definition until the end of the structure is declared. </P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
103 ></DD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
104 ><DT |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
105 >ENDSTRUCT, ENDS</DT |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
106 ><DD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
107 ><P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
108 >This directive ends the definition of the structure. ENDSTRUCT is the |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
109 preferred form. Prior to version 3.0 of LWASM, ENDS was used to end a |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
110 section instead of a structure.</P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
111 ></DD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
112 ></DL |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
113 ></DIV |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
114 ><P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
115 > Within a structure definition, only reservation pseudo ops are permitted. |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
116 Anything else will cause an assembly error.</P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
117 ><P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
118 > Once a structure is defined, you can reserve an area of memory in the |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
119 same structure by using the structure name as the opcode. Structures can |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
120 also contain fields that are themselves structures. See the example |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
121 below.</P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
122 ><PRE |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
123 CLASS="PROGRAMLISTING" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
124 >tstruct2 STRUCT |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
125 f1 rmb 1 |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
126 f2 rmb 1 |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
127 ENDSTRUCT |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
128 |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
129 tstruct STRUCT |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
130 field1 rmb 2 |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
131 field2 rmb 3 |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
132 field3 tstruct2 |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
133 ENDSTRUCT |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
134 |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
135 ORG $2000 |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
136 var1 tstruct |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
137 var2 tstruct2</PRE |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
138 ><P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
139 >Fields are referenced using a dot (.) as a separator. To refer to the |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
140 generic offset within a structure, use the structure name to the left of the |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
141 dot. If referring to a field within an actual variable, use the variable's |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
142 symbol name to the left of the dot.</P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
143 ><P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
144 >You can also refer to the actual size of a structure (or a variable |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
145 declared as a structure) using the special symbol sizeof{structname} where |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
146 structname will be the name of the structure or the name of the |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
147 variable.</P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
148 ><P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
149 >Essentially, structures are a shortcut for defining a vast number of |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
150 symbols. When a structure is defined, the assembler creates symbols for the |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
151 various fields in the form structname.fieldname as well as the appropriate |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
152 sizeof{structname} symbol. When a variable is declared as a structure, the |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
153 assembler does the same thing using the name of the variable. You will see |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
154 these symbols in the symbol table when the assembler is instructed to |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
155 provide a listing. For instance, the above listing will create the |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
156 following symbols (symbol values in parentheses): tstruct2.f1 (0), |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
157 tstruct2.f2 (1), sizeof{tstruct2} (2), tstruct.field1 (0), tstruct.field2 |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
158 (2), tstruct.field3 (5), tstruct.field3.f1 (5), tstruct.field3.f2 (6), |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
159 sizeof{tstruct.field3} (2), sizeof{tstruct} (7), var1 {$2000}, var1.field1 |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
160 {$2000}, var1.field2 {$2002}, var1.field3 {$2005}, var1.field3.f1 {$2005}, |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
161 var1.field3.f2 {$2006}, sizeof(var1.field3} (2), sizeof{var1} (7), var2 |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
162 ($2007), var2.f1 ($2007), var2.f2 ($2008), sizeof{var2} (2). </P |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
163 ></DIV |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
164 ><DIV |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
165 CLASS="NAVFOOTER" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
166 ><HR |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
167 ALIGN="LEFT" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
168 WIDTH="100%"><TABLE |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
169 SUMMARY="Footer navigation table" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
170 WIDTH="100%" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
171 BORDER="0" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
172 CELLPADDING="0" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
173 CELLSPACING="0" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
174 ><TR |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
175 ><TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
176 WIDTH="33%" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
177 ALIGN="left" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
178 VALIGN="top" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
179 ><A |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
180 HREF="x551.html" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
181 ACCESSKEY="P" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
182 >Prev</A |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
183 ></TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
184 ><TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
185 WIDTH="34%" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
186 ALIGN="center" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
187 VALIGN="top" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
188 ><A |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
189 HREF="index.html" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
190 ACCESSKEY="H" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
191 >Home</A |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
192 ></TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
193 ><TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
194 WIDTH="33%" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
195 ALIGN="right" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
196 VALIGN="top" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
197 ><A |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
198 HREF="x595.html" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
199 ACCESSKEY="N" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
200 >Next</A |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
201 ></TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
202 ></TR |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
203 ><TR |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
204 ><TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
205 WIDTH="33%" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
206 ALIGN="left" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
207 VALIGN="top" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
208 >Macros</TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
209 ><TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
210 WIDTH="34%" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
211 ALIGN="center" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
212 VALIGN="top" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
213 ><A |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
214 HREF="c62.html" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
215 ACCESSKEY="U" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
216 >Up</A |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
217 ></TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
218 ><TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
219 WIDTH="33%" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
220 ALIGN="right" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
221 VALIGN="top" |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
222 >Object Files and Sections</TD |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
223 ></TR |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
224 ></TABLE |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
225 ></DIV |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
226 ></BODY |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
227 ></HTML |
fc166b3bbae3
Update manual for recent additions.
William Astle <lost@l-w.ca>
parents:
diff
changeset
|
228 > |