comparison 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
comparison
equal deleted inserted replaced
284:a175fa4a0a9a 285:9010796c6253
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
5 >Object Files</TITLE
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="Output Formats"
14 HREF="c18.html"><LINK
15 REL="PREVIOUS"
16 TITLE="DECB Binaries"
17 HREF="x24.html"><LINK
18 REL="NEXT"
19 TITLE="LWASM"
20 HREF="c35.html"></HEAD
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
48 HREF="x24.html"
49 ACCESSKEY="P"
50 >Prev</A
51 ></TD
52 ><TD
53 WIDTH="80%"
54 ALIGN="center"
55 VALIGN="bottom"
56 >Chapter 2. Output Formats</TD
57 ><TD
58 WIDTH="10%"
59 ALIGN="right"
60 VALIGN="bottom"
61 ><A
62 HREF="c35.html"
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
76 NAME="AEN29"
77 >2.3. Object Files</A
78 ></H1
79 ><P
80 >LWASM supports generating a proprietary object file format which is
81 described in <A
82 HREF="c701.html"
83 >Chapter 6</A
84 >. LWLINK is then used to link these
85 object files into a final binary in any of LWLINK's supported binary
86 formats.</P
87 ><P
88 >Object files are very flexible in that they allow references that are not
89 known at assembly time to be resolved at link time. However, because the
90 addresses of such references are not known, there is no way for the assembler
91 has to use sixteen bit addressing modes for these references. The linker
92 will always use sixteen bits when resolving a reference which means any
93 instruction that requires an eight bit operand cannot use external references.</P
94 ><P
95 >Object files also support the concept of sections which are not valid
96 for other output types. This allows related code from each object file
97 linked to be collapsed together in the final binary.</P
98 ></DIV
99 ><DIV
100 CLASS="NAVFOOTER"
101 ><HR
102 ALIGN="LEFT"
103 WIDTH="100%"><TABLE
104 SUMMARY="Footer navigation table"
105 WIDTH="100%"
106 BORDER="0"
107 CELLPADDING="0"
108 CELLSPACING="0"
109 ><TR
110 ><TD
111 WIDTH="33%"
112 ALIGN="left"
113 VALIGN="top"
114 ><A
115 HREF="x24.html"
116 ACCESSKEY="P"
117 >Prev</A
118 ></TD
119 ><TD
120 WIDTH="34%"
121 ALIGN="center"
122 VALIGN="top"
123 ><A
124 HREF="index.html"
125 ACCESSKEY="H"
126 >Home</A
127 ></TD
128 ><TD
129 WIDTH="33%"
130 ALIGN="right"
131 VALIGN="top"
132 ><A
133 HREF="c35.html"
134 ACCESSKEY="N"
135 >Next</A
136 ></TD
137 ></TR
138 ><TR
139 ><TD
140 WIDTH="33%"
141 ALIGN="left"
142 VALIGN="top"
143 >DECB Binaries</TD
144 ><TD
145 WIDTH="34%"
146 ALIGN="center"
147 VALIGN="top"
148 ><A
149 HREF="c18.html"
150 ACCESSKEY="U"
151 >Up</A
152 ></TD
153 ><TD
154 WIDTH="33%"
155 ALIGN="right"
156 VALIGN="top"
157 >LWASM</TD
158 ></TR
159 ></TABLE
160 ></DIV
161 ></BODY
162 ></HTML
163 >