Reshaped doc's
[fw/sdcc] / doc / sdccman.html / node36.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2
3 <!--Converted with LaTeX2HTML 99.1 release (March 30, 1999)
4 original version by:  Nikos Drakos, CBLU, University of Leeds
5 * revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
6 * with significant contributions from:
7   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 <HTML>
9 <HEAD>
10 <TITLE>3.17 DS390 Memory Models</TITLE>
11 <META NAME="description" CONTENT="3.17 DS390 Memory Models">
12 <META NAME="keywords" CONTENT="sdccman">
13 <META NAME="resource-type" CONTENT="document">
14 <META NAME="distribution" CONTENT="global">
15
16 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
17 <META NAME="Generator" CONTENT="LaTeX2HTML v99.1 release">
18 <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
19
20 <LINK REL="STYLESHEET" HREF="sdccman.css">
21
22 <LINK REL="next" HREF="node37.html">
23 <LINK REL="previous" HREF="node35.html">
24 <LINK REL="up" HREF="node19.html">
25 <LINK REL="next" HREF="node37.html">
26 </HEAD>
27
28 <BODY >
29 <!--Navigation Panel-->
30 <A NAME="tex2html780"
31  HREF="node37.html">
32 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A> 
33 <A NAME="tex2html774"
34  HREF="node19.html">
35 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A> 
36 <A NAME="tex2html768"
37  HREF="node35.html">
38 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A> 
39 <A NAME="tex2html776"
40  HREF="node1.html">
41 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents_motif.gif"></A> 
42 <A NAME="tex2html778"
43  HREF="node61.html">
44 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index_motif.gif"></A> 
45 <BR>
46 <B> Next:</B> <A NAME="tex2html781"
47  HREF="node37.html">3.18 Defines Created by</A>
48 <B> Up:</B> <A NAME="tex2html775"
49  HREF="node19.html">3. Using SDCC</A>
50 <B> Previous:</B> <A NAME="tex2html769"
51  HREF="node35.html">3.16 MCS51 Memory Models</A>
52  &nbsp <B>  <A NAME="tex2html777"
53  HREF="node1.html">Contents</A></B> 
54  &nbsp <B>  <A NAME="tex2html779"
55  HREF="node61.html">Index</A></B> 
56 <BR>
57 <BR>
58 <!--End of Navigation Panel-->
59
60 <H2><A NAME="SECTION000417000000000000000">
61 3.17 DS390 Memory Models</A>
62 </H2>
63
64 <P>
65 The only model supported is Flat 24. This generates code for the 24
66 bit contiguous addressing mode of the Dallas DS80C390 part. In this
67 mode, up to four meg of external RAM or code space can be directly
68 addressed. See the data sheets at www.dalsemi.com for further information
69 on this part.
70 <BR>
71
72 <BR>
73 In older versions of the compiler, this option was used with the MCS51
74 code generator (<I>-mmcs51</I>). Now, however, the '390 has it's own
75 code generator, selected by the <I>-mds390</I> switch. 
76 <BR>
77
78 <BR>
79 Note that the compiler does not generate any code to place the processor
80 into 24 bitmode (although <I>tinibios</I> in the ds390 libraries will
81 do that for you). If you don't use <I>tinibios</I>, the boot loader
82 or similar code must ensure that the processor is in 24 bit contiguous
83 addressing mode before calling the SDCC startup code.
84 <BR>
85
86 <BR>
87 Like the <I>-model-large</I> option, variables will by default be
88 placed into the XDATA segment. 
89 <BR>
90
91 <BR>
92 Segments may be placed anywhere in the 4 meg address space using the
93 usual -*-loc options. Note that if any segments are located above
94 64K, the -r flag must be passed to the linker to generate the proper
95 segment relocations, and the Intel HEX output format must be used.
96 The -r flag can be passed to the linker by using the option <I>-Wl-r</I>
97 on the sdcc command line. However, currently the linker can not handle
98 code segments &gt; 64k.
99
100 <P>
101 <HR>
102 <!--Navigation Panel-->
103 <A NAME="tex2html780"
104  HREF="node37.html">
105 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A> 
106 <A NAME="tex2html774"
107  HREF="node19.html">
108 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A> 
109 <A NAME="tex2html768"
110  HREF="node35.html">
111 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A> 
112 <A NAME="tex2html776"
113  HREF="node1.html">
114 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents_motif.gif"></A> 
115 <A NAME="tex2html778"
116  HREF="node61.html">
117 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index_motif.gif"></A> 
118 <BR>
119 <B> Next:</B> <A NAME="tex2html781"
120  HREF="node37.html">3.18 Defines Created by</A>
121 <B> Up:</B> <A NAME="tex2html775"
122  HREF="node19.html">3. Using SDCC</A>
123 <B> Previous:</B> <A NAME="tex2html769"
124  HREF="node35.html">3.16 MCS51 Memory Models</A>
125  &nbsp <B>  <A NAME="tex2html777"
126  HREF="node1.html">Contents</A></B> 
127  &nbsp <B>  <A NAME="tex2html779"
128  HREF="node61.html">Index</A></B> 
129 <!--End of Navigation Panel-->
130 <ADDRESS>
131 <I>Johan Knol</I>
132 <BR><I>2001-07-13</I>
133 </ADDRESS>
134 </BODY>
135 </HTML>