<?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 Re: MC9S08PA4 warning in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08PA4-warning/m-p/439120#M21554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you were right !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Apr 2015 20:06:32 GMT</pubDate>
    <dc:creator>mikee_</dc:creator>
    <dc:date>2015-04-24T20:06:32Z</dc:date>
    <item>
      <title>MC9S08PA4 warning</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08PA4-warning/m-p/439118#M21552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting this strange warning every time I compile my code.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my code I start by Initialization section when I configure the PORT registers as follows.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style=""&gt;BCLR&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,PORT_PTAOE&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD style=""&gt;&lt;P&gt; ; Output disabled&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style=""&gt;BSET&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,PORT_PTAIE&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD style=""&gt; ; Input Enabled&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Freescale Codewarrioe 10.6 and the compilor does not seem to like something about my code. I get the following warning for each line in my code where I try to configure a register.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The warning is the following: A13003 Value is truncated to one byte.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 15:44:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08PA4-warning/m-p/439118#M21552</guid>
      <dc:creator>mikee_</dc:creator>
      <dc:date>2015-04-23T15:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08PA4 warning</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08PA4-warning/m-p/439119#M21553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the values for the PORT_PTAOE and PORT_PTAIE symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are not in zero page (i.e., have an MSB of zero) then you cannot use the BSET/BCLR instructions.&amp;nbsp; You will have to use a LDA/ORA/STA (BSET) or LDA/AND/STA (BCLR, using inverted mask) sequence instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 22:23:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08PA4-warning/m-p/439119#M21553</guid>
      <dc:creator>tonyp</dc:creator>
      <dc:date>2015-04-23T22:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08PA4 warning</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08PA4-warning/m-p/439120#M21554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you were right !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 20:06:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08PA4-warning/m-p/439120#M21554</guid>
      <dc:creator>mikee_</dc:creator>
      <dc:date>2015-04-24T20:06:32Z</dc:date>
    </item>
  </channel>
</rss>

