<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 2008 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>3.4.3 HC08 Storage Class Language Extensions</TITLE> <META NAME="description" CONTENT="3.4.3 HC08 Storage Class Language Extensions"> <META NAME="keywords" CONTENT="sdccman"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2008"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="sdccman.css"> <LINK REL="previous" HREF="node60.html"> <LINK REL="up" HREF="node58.html"> <LINK REL="next" HREF="node62.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html1597" HREF="node62.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html1591" HREF="node58.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html1587" HREF="node60.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html1593" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html1595" HREF="node191.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html1598" HREF="node62.html">3.5 Other SDCC language</A> <B> Up:</B> <A NAME="tex2html1592" HREF="node58.html">3.4 Storage Class Language</A> <B> Previous:</B> <A NAME="tex2html1588" HREF="node60.html">3.4.2 Z80/Z180 Storage Class</A> <B> <A NAME="tex2html1594" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html1596" HREF="node191.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <!--Table of Child-Links--> <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A> <UL> <LI><A NAME="tex2html1599" HREF="node61.html#SECTION00443100000000000000">3.4.3.1 data </A> <LI><A NAME="tex2html1600" HREF="node61.html#SECTION00443200000000000000">3.4.3.2 xdata </A> </UL> <!--End of Table of Child-Links--> <HR> <H2><A NAME="SECTION00443000000000000000"></A><A NAME="1517"></A> <BR> 3.4.3 HC08 Storage Class Language Extensions </H2> <P> <H3><A NAME="SECTION00443100000000000000"></A><A NAME="1518"></A><A NAME="1519"></A> <BR> 3.4.3.1 data </H3> <P> The data storage class declares a variable that resides in the first 256 bytes of memory (the direct page). The HC08<A NAME="1520"></A> is most efficient at accessing variables (especially pointers) stored here. <P> <H3><A NAME="SECTION00443200000000000000"></A><A NAME="1521"></A><A NAME="1522"></A> <BR> 3.4.3.2 xdata </H3> <P> The xdata storage class declares a variable that can reside anywhere in memory. This is the default if no storage class is specified. <P><P> <BR> <P> <BR><HR> <ADDRESS> 2011-03-20 </ADDRESS> </BODY> </HTML>