go to single .html
[fw/sdcc] / doc / SDCCUdoc-22.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2 <HTML>
3 <HEAD>
4  <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.7">
5  <TITLE>SDCC Compiler User Guide: External Stack.</TITLE>
6  <LINK HREF="SDCCUdoc-23.html" REL=next>
7  <LINK HREF="SDCCUdoc-21.html" REL=previous>
8  <LINK HREF="SDCCUdoc.html#toc22" REL=contents>
9 </HEAD>
10 <BODY>
11 <A HREF="SDCCUdoc-23.html">Next</A>
12 <A HREF="SDCCUdoc-21.html">Previous</A>
13 <A HREF="SDCCUdoc.html#toc22">Contents</A>
14 <HR>
15 <H2><A NAME="xstack"></A> <A NAME="s22">22. External Stack.</A> </H2>
16
17 <P>The external stack is located at the start of the external ram segment
18 , and is 256 bytes in size. When --xstack option is used to compile the program
19 , the parameters and local variables of all reentrant functions are allocated
20 in this area. This option is provided for programs with large stack space requirements.
21 When used with the --stack-auto option, all parameters and local variables
22 are allocated on the external stack (note support libraries will need to be
23 recompiled with the same options).
24 <P>The compiler outputs the higher order address byte of the external ram
25 segment into PORT P2, therefore when using the External Stack option, this
26 port MAY NOT be used by the application program.
27 <HR>
28 <A HREF="SDCCUdoc-23.html">Next</A>
29 <A HREF="SDCCUdoc-21.html">Previous</A>
30 <A HREF="SDCCUdoc.html#toc22">Contents</A>
31 </BODY>
32 </HTML>