annotate doc/manual/x29.html @ 285:9010796c6253 2.3 2.3.1

Generated manual for distribution
author lost
date Fri, 24 Apr 2009 22:36:09 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
285
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
2 <HTML
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
3 ><HEAD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
4 ><TITLE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
5 >Object Files</TITLE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
6 ><META
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
7 NAME="GENERATOR"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
9 REL="HOME"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
10 TITLE="LW Tool Chain"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
11 HREF="index.html"><LINK
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
12 REL="UP"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
13 TITLE="Output Formats"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
14 HREF="c18.html"><LINK
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
15 REL="PREVIOUS"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
16 TITLE="DECB Binaries"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
17 HREF="x24.html"><LINK
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
18 REL="NEXT"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
19 TITLE="LWASM"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
20 HREF="c35.html"></HEAD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
21 ><BODY
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
22 CLASS="SECTION"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
23 BGCOLOR="#FFFFFF"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
24 TEXT="#000000"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
25 LINK="#0000FF"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
26 VLINK="#840084"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
27 ALINK="#0000FF"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
28 ><DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
29 CLASS="NAVHEADER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
30 ><TABLE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
31 SUMMARY="Header navigation table"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
32 WIDTH="100%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
33 BORDER="0"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
34 CELLPADDING="0"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
35 CELLSPACING="0"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
36 ><TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
37 ><TH
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
38 COLSPAN="3"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
39 ALIGN="center"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
40 >LW Tool Chain</TH
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
41 ></TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
42 ><TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
43 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
44 WIDTH="10%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
45 ALIGN="left"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
46 VALIGN="bottom"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
47 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
48 HREF="x24.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
49 ACCESSKEY="P"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
50 >Prev</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
51 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
52 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
53 WIDTH="80%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
54 ALIGN="center"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
55 VALIGN="bottom"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
56 >Chapter 2. Output Formats</TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
57 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
58 WIDTH="10%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
59 ALIGN="right"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
60 VALIGN="bottom"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
61 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
62 HREF="c35.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
63 ACCESSKEY="N"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
64 >Next</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
65 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
66 ></TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
67 ></TABLE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
68 ><HR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
69 ALIGN="LEFT"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
70 WIDTH="100%"></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
71 ><DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
72 CLASS="SECTION"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
73 ><H1
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
74 CLASS="SECTION"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
75 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
76 NAME="AEN29"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
77 >2.3. Object Files</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
78 ></H1
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
79 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
80 >LWASM supports generating a proprietary object file format which is
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
81 described in <A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
82 HREF="c701.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
83 >Chapter 6</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
84 >. LWLINK is then used to link these
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
85 object files into a final binary in any of LWLINK's supported binary
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
86 formats.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
87 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
88 >Object files are very flexible in that they allow references that are not
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
89 known at assembly time to be resolved at link time. However, because the
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
90 addresses of such references are not known, there is no way for the assembler
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
91 has to use sixteen bit addressing modes for these references. The linker
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
92 will always use sixteen bits when resolving a reference which means any
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
93 instruction that requires an eight bit operand cannot use external references.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
94 ><P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
95 >Object files also support the concept of sections which are not valid
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
96 for other output types. This allows related code from each object file
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
97 linked to be collapsed together in the final binary.</P
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
98 ></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
99 ><DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
100 CLASS="NAVFOOTER"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
101 ><HR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
102 ALIGN="LEFT"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
103 WIDTH="100%"><TABLE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
104 SUMMARY="Footer navigation table"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
105 WIDTH="100%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
106 BORDER="0"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
107 CELLPADDING="0"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
108 CELLSPACING="0"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
109 ><TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
110 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
111 WIDTH="33%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
112 ALIGN="left"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
113 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
114 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
115 HREF="x24.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
116 ACCESSKEY="P"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
117 >Prev</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
118 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
119 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
120 WIDTH="34%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
121 ALIGN="center"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
122 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
123 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
124 HREF="index.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
125 ACCESSKEY="H"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
126 >Home</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
127 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
128 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
129 WIDTH="33%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
130 ALIGN="right"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
131 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
132 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
133 HREF="c35.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
134 ACCESSKEY="N"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
135 >Next</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
136 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
137 ></TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
138 ><TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
139 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
140 WIDTH="33%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
141 ALIGN="left"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
142 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
143 >DECB Binaries</TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
144 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
145 WIDTH="34%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
146 ALIGN="center"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
147 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
148 ><A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
149 HREF="c18.html"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
150 ACCESSKEY="U"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
151 >Up</A
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
152 ></TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
153 ><TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
154 WIDTH="33%"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
155 ALIGN="right"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
156 VALIGN="top"
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
157 >LWASM</TD
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
158 ></TR
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
159 ></TABLE
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
160 ></DIV
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
161 ></BODY
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
162 ></HTML
9010796c6253 Generated manual for distribution
lost
parents:
diff changeset
163 >