Cleared the top bytes for use in arrays.
[fw/sdcc] / doc / sdccman.html / node43.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>4.5 External Stack</TITLE>
11 <META NAME="description" CONTENT="4.5 External Stack">
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="node44.html">
23 <LINK REL="previous" HREF="node42.html">
24 <LINK REL="up" HREF="node38.html">
25 <LINK REL="next" HREF="node44.html">
26 </HEAD>
27
28 <BODY >
29 <!--Navigation Panel-->
30 <A NAME="tex2html911"
31  HREF="node44.html">
32 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A> 
33 <A NAME="tex2html905"
34  HREF="node38.html">
35 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A> 
36 <A NAME="tex2html899"
37  HREF="node42.html">
38 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A> 
39 <A NAME="tex2html907"
40  HREF="node1.html">
41 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents_motif.gif"></A> 
42 <A NAME="tex2html909"
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="tex2html912"
47  HREF="node44.html">4.6 ANSI-Compliance</A>
48 <B> Up:</B> <A NAME="tex2html906"
49  HREF="node38.html">4. SDCC Technical Data</A>
50 <B> Previous:</B> <A NAME="tex2html900"
51  HREF="node42.html">4.4 Interfacing with Assembly</A>
52  &nbsp <B>  <A NAME="tex2html908"
53  HREF="node1.html">Contents</A></B> 
54  &nbsp <B>  <A NAME="tex2html910"
55  HREF="node61.html">Index</A></B> 
56 <BR>
57 <BR>
58 <!--End of Navigation Panel-->
59
60 <H2><A NAME="SECTION00055000000000000000">
61 4.5 External Stack</A>
62 </H2>
63
64 <P>
65 The external stack is located at the start of the external ram segment,
66 and is 256 bytes in size. When -xstack option is used to compile
67 the program, the parameters and local variables of all reentrant functions
68 are allocated in this area. This option is provided for programs with
69 large stack space requirements. When used with the -stack-auto option,
70 all parameters and local variables are allocated on the external stack
71 (note support libraries will need to be recompiled with the same options).
72
73 <P>
74 The compiler outputs the higher order address byte of the external
75 ram segment into PORT P2, therefore when using the External Stack
76 option, this port MAY NOT be used by the application program.
77
78 <P>
79 <BR><HR>
80 <ADDRESS>
81 <I>Johan Knol</I>
82 <BR><I>2001-07-13</I>
83 </ADDRESS>
84 </BODY>
85 </HTML>