<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Place a function on a fix adress in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Place-a-function-on-a-fix-adress/m-p/191396#M14717</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Is there a pragma or equal that I can use to place a function on a fix adress. I need to place the function _startup() on a fix adress. The processor I use is MC9S08GT32, and the copiler is Codewarrior.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Ake&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2008 16:49:23 GMT</pubDate>
    <dc:creator>ajn</dc:creator>
    <dc:date>2008-02-20T16:49:23Z</dc:date>
    <item>
      <title>Place a function on a fix adress</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Place-a-function-on-a-fix-adress/m-p/191396#M14717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Is there a pragma or equal that I can use to place a function on a fix adress. I need to place the function _startup() on a fix adress. The processor I use is MC9S08GT32, and the copiler is Codewarrior.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Ake&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 16:49:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Place-a-function-on-a-fix-adress/m-p/191396#M14717</guid>
      <dc:creator>ajn</dc:creator>
      <dc:date>2008-02-20T16:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Place a function on a fix adress</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Place-a-function-on-a-fix-adress/m-p/191397#M14718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Ake,&lt;BR /&gt;&lt;BR /&gt;I think that one possible way is to create a new code segment (in the .PRM file) and use the #pragma CODE_SEG to instruct the compiler to store the function in that segment.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 20:21:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Place-a-function-on-a-fix-adress/m-p/191397#M14718</guid>
      <dc:creator>fabio</dc:creator>
      <dc:date>2008-02-20T20:21:30Z</dc:date>
    </item>
  </channel>
</rss>

