<?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: Doubt abt HCS08 instruction set in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Doubt-abt-HCS08-instruction-set/m-p/125608#M698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Sarathi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm pleased you found the HC(S)08 products. The HC08 has been very successful in automotive markets, and products such as the newly announced MC9S08Dx family will prove to be popular in this market, too.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;About the ADC, X - add with carry, indexed addressing mode. It doesn't work in the way that you think. In this mode, the H:X register acts as an index to the operand, so if H:X contains 0x0800, then the Add with Carry uses the value pointed to at address 0x0800. It just takes 3 cycles. First cycle is R - Read, second cycle is Free, 3rd cycle is P - program access.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You should look at the Addressing Mode section of the Core Reference Manual HCS08RMV1.pdf&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Aug 2006 04:39:32 GMT</pubDate>
    <dc:creator>UK_CF_FAE</dc:creator>
    <dc:date>2006-08-09T04:39:32Z</dc:date>
    <item>
      <title>Doubt abt HCS08 instruction set</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Doubt-abt-HCS08-instruction-set/m-p/125607#M697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello Everybody,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am new to this forum. My name s Parthasarathi doing 1 yr Mtech in Automotive electronics. I am come across HCS08 Microcontroller. In that instruction set, i am having doubt in "ADC, X" . In this command CPU ll take 3 bus cycles to execute this command. For ADC it ll take 1 cycle and for execution of X it ll take another command. Thn how s it possible for the third cycle. So please anybody clear my doubts.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;bye&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 16:07:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Doubt-abt-HCS08-instruction-set/m-p/125607#M697</guid>
      <dc:creator>sarathi</dc:creator>
      <dc:date>2006-08-03T16:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt abt HCS08 instruction set</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Doubt-abt-HCS08-instruction-set/m-p/125608#M698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Sarathi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm pleased you found the HC(S)08 products. The HC08 has been very successful in automotive markets, and products such as the newly announced MC9S08Dx family will prove to be popular in this market, too.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;About the ADC, X - add with carry, indexed addressing mode. It doesn't work in the way that you think. In this mode, the H:X register acts as an index to the operand, so if H:X contains 0x0800, then the Add with Carry uses the value pointed to at address 0x0800. It just takes 3 cycles. First cycle is R - Read, second cycle is Free, 3rd cycle is P - program access.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You should look at the Addressing Mode section of the Core Reference Manual HCS08RMV1.pdf&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2006 04:39:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Doubt-abt-HCS08-instruction-set/m-p/125608#M698</guid>
      <dc:creator>UK_CF_FAE</dc:creator>
      <dc:date>2006-08-09T04:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt abt HCS08 instruction set</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Doubt-abt-HCS08-instruction-set/m-p/125609#M699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I thought the question was more about what is going on in the cycles.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In the&amp;nbsp;first cycle is to fetch the instruction from memory, the second fetches the data pointed to by H:X and the third performs the addition. The second and third cycles appear (from an emulator trace) to occur after the fetch of the following instruction, but this should not matter to you.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2006 22:01:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Doubt-abt-HCS08-instruction-set/m-p/125609#M699</guid>
      <dc:creator>firework</dc:creator>
      <dc:date>2006-08-09T22:01:08Z</dc:date>
    </item>
  </channel>
</rss>

