<?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: Carry Bit in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Carry-Bit/m-p/136343#M2388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Interresting question.&lt;BR /&gt;&lt;BR /&gt;C standard does not define access of a "carry bit", however when you write in C, the compiler will use the CPU's carry bit as needed if the target has one.&lt;BR /&gt;&lt;BR /&gt;If you want to specifically use hardware directly such as a CPU carry bit, you must use assembly (i.e. inline asm).&lt;BR /&gt;&lt;BR /&gt;As far as data sheets, the MCU data sheets do explain the carry bit, as they should. I wonder what data sheet you are referring to, but you don't have to answer.&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 May 2006 06:30:37 GMT</pubDate>
    <dc:creator>imajeff</dc:creator>
    <dc:date>2006-05-18T06:30:37Z</dc:date>
    <item>
      <title>Carry Bit</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Carry-Bit/m-p/136342#M2387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Where is the carry bit and how do you access it in C? Why is is not mentioned in datasheet?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;MC9s12xdt512&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Message Edited by ernestsnaith on &lt;SPAN class="date_text"&gt;05-17-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;12:33 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2006 00:32:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Carry-Bit/m-p/136342#M2387</guid>
      <dc:creator>ernestsnaith</dc:creator>
      <dc:date>2006-05-18T00:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Carry Bit</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Carry-Bit/m-p/136343#M2388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Interresting question.&lt;BR /&gt;&lt;BR /&gt;C standard does not define access of a "carry bit", however when you write in C, the compiler will use the CPU's carry bit as needed if the target has one.&lt;BR /&gt;&lt;BR /&gt;If you want to specifically use hardware directly such as a CPU carry bit, you must use assembly (i.e. inline asm).&lt;BR /&gt;&lt;BR /&gt;As far as data sheets, the MCU data sheets do explain the carry bit, as they should. I wonder what data sheet you are referring to, but you don't have to answer.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2006 06:30:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Carry-Bit/m-p/136343#M2388</guid>
      <dc:creator>imajeff</dc:creator>
      <dc:date>2006-05-18T06:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Carry Bit</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Carry-Bit/m-p/136344#M2389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;The datasheet i am looking at is the MC9S12XDP512 one. I have searched the entire document for carry bit and only found it in XGATE.&lt;/P&gt;&lt;P&gt;I thought the XGATE was the co-processor that dealt with interrupts etc so iv left it for now.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Message Edited by ernestsnaith on &lt;SPAN class="date_text"&gt;05-18-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;01:10 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2006 13:08:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Carry-Bit/m-p/136344#M2389</guid>
      <dc:creator>ernestsnaith</dc:creator>
      <dc:date>2006-05-18T13:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Carry Bit</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Carry-Bit/m-p/136345#M2390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;The 9S12XDP512 datasheet contain all the information about everything in the controller, except for the S12X core. Take a look at the S12XCPUV1 manual (&lt;A href="http://www.freescale.com/files/microcontrollers/doc/ref_manual/S12XCPUV1.pdf" rel="nofollow" target="_blank"&gt;http://www.freescale.com/files/microcontrollers/doc/ref_manual/S12XCPUV1.pdf&lt;/A&gt;&lt;A href="http://www.freescale.com/files/microcontrollers/doc/ref_manual/S12CPUV2.pdf?srch=1" rel="nofollow" target="_blank"&gt;http://www.freescale.com/files/microcontrollers/doc/ref_manual/S12CPUV2.pdf?srch=1" rel="nofollow" target="_blank&lt;/A&gt;) and you will find all the info you need about the Carry-bit.&lt;P&gt;Message Edited by Sten on &lt;SPAN class="date_text"&gt;05-18-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;01:07 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2006 14:49:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Carry-Bit/m-p/136345#M2390</guid>
      <dc:creator>Sten</dc:creator>
      <dc:date>2006-05-18T14:49:02Z</dc:date>
    </item>
  </channel>
</rss>

