1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
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 -->
10 <TITLE>3.18 Defines Created by the Compiler</TITLE>
11 <META NAME="description" CONTENT="3.18 Defines Created by the Compiler">
12 <META NAME="keywords" CONTENT="sdccman">
13 <META NAME="resource-type" CONTENT="document">
14 <META NAME="distribution" CONTENT="global">
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">
20 <LINK REL="STYLESHEET" HREF="sdccman.css">
22 <LINK REL="previous" HREF="node36.html">
23 <LINK REL="up" HREF="node19.html">
24 <LINK REL="next" HREF="node38.html">
28 <!--Navigation Panel-->
31 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A>
34 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A>
37 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A>
40 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents_motif.gif"></A>
43 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index_motif.gif"></A>
45 <B> Next:</B> <A NAME="tex2html793"
46 HREF="node38.html">4. SDCC Technical Data</A>
47 <B> Up:</B> <A NAME="tex2html787"
48 HREF="node19.html">3. Using SDCC</A>
49 <B> Previous:</B> <A NAME="tex2html783"
50 HREF="node36.html">3.17 DS390 Memory Models</A>
51   <B> <A NAME="tex2html789"
52 HREF="node1.html">Contents</A></B>
53   <B> <A NAME="tex2html791"
54 HREF="node61.html">Index</A></B>
57 <!--End of Navigation Panel-->
59 <H2><A NAME="SECTION000418000000000000000">
60 3.18 Defines Created by the Compiler</A>
64 The compiler creates the following #defines.
69 <LI>SDCC - this Symbol is always defined.</LI>
70 <LI>SDCC_mcs51 or SDCC_ds390 or SDCC_z80, etc - depending on the model
71 used (e.g.: -mds390)</LI>
72 <LI>__mcs51 or __ds390 or __z80, etc - depending on the model used
74 <LI>SDCC_STACK_AUTO - this symbol is defined when <I>-stack-auto</I>
76 <LI>SDCC_MODEL_SMALL - when <I>-model-small</I> is used.</LI>
77 <LI>SDCC_MODEL_LARGE - when <I>-model-large</I> is used.</LI>
78 <LI>SDCC_USE_XSTACK - when <I>-xstack</I> option is used.</LI>
79 <LI>SDCC_STACK_TENBIT - when <I>-mds390</I> is used</LI>
80 <LI>SDCC_MODEL_FLAT24 - when <I>-mds390</I> is used</LI>