<?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 S12X Setting the U bit in the Condition Code Register in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12X-Setting-the-U-bit-in-the-Condition-Code-Register/m-p/170046#M5625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi all,&lt;/DIV&gt;&lt;DIV&gt;this is probably an easy question for some of you.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How do I set the U bit in the Condition Code Register?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I was trying transfering the content to the D accumulator, setting there and back to the CCR, but it doesn't seem to work for the upper byte.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;Pedro&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jul 2008 21:10:22 GMT</pubDate>
    <dc:creator>Pedro_</dc:creator>
    <dc:date>2008-07-03T21:10:22Z</dc:date>
    <item>
      <title>S12X Setting the U bit in the Condition Code Register</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12X-Setting-the-U-bit-in-the-Condition-Code-Register/m-p/170046#M5625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi all,&lt;/DIV&gt;&lt;DIV&gt;this is probably an easy question for some of you.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How do I set the U bit in the Condition Code Register?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I was trying transfering the content to the D accumulator, setting there and back to the CCR, but it doesn't seem to work for the upper byte.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;Pedro&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 21:10:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12X-Setting-the-U-bit-in-the-Condition-Code-Register/m-p/170046#M5625</guid>
      <dc:creator>Pedro_</dc:creator>
      <dc:date>2008-07-03T21:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: S12X Setting the U bit in the Condition Code Register</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12X-Setting-the-U-bit-in-the-Condition-Code-Register/m-p/170047#M5626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hello Pedro,&lt;BR /&gt;&lt;BR /&gt;to set the U-bit you can, for example, do this:&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;    TFR          CCRH,A    ORAA       #$80    TFR          A,CCRH&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;or, without using an extra register:&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;    PSHCW
    BSET        0,SP,#$80
    PULCW
&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;MJW&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:18:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12X-Setting-the-U-bit-in-the-Condition-Code-Register/m-p/170047#M5626</guid>
      <dc:creator>MJW</dc:creator>
      <dc:date>2020-10-29T09:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: S12X Setting the U bit in the Condition Code Register</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12X-Setting-the-U-bit-in-the-Condition-Code-Register/m-p/170048#M5627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thanks MJW !&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 22:21:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12X-Setting-the-U-bit-in-the-Condition-Code-Register/m-p/170048#M5627</guid>
      <dc:creator>Pedro_</dc:creator>
      <dc:date>2008-07-03T22:21:46Z</dc:date>
    </item>
  </channel>
</rss>

