<?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 Freescale assembly Language in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129374#M1932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;I want to learn Freescale assembly language.Pls let me know where i get instruction sets with explanation of each.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Venki&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2007 14:04:48 GMT</pubDate>
    <dc:creator>venki</dc:creator>
    <dc:date>2007-04-04T14:04:48Z</dc:date>
    <item>
      <title>Freescale assembly Language</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129374#M1932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;I want to learn Freescale assembly language.Pls let me know where i get instruction sets with explanation of each.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Venki&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 14:04:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129374#M1932</guid>
      <dc:creator>venki</dc:creator>
      <dc:date>2007-04-04T14:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Freescale assembly Language</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129375#M1933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi venki,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;As you posted another question about the GP32&amp;nbsp; assume this is what you are talking about here.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This document provides the best start in this case:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/files/microcontrollers/doc/ref_manual/M68HC05AG.pdf?fsrch=1" rel="nofollow" target="_blank"&gt;http://www.freescale.com/files/microcontrollers/doc/ref_manual/M68HC05AG.pdf?fsrch=1&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 15:21:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129375#M1933</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-04-04T15:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Freescale assembly Language</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129376#M1934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Venki,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;The reference given by Peg actually pertains to the nearly obsolete HC05 devices.&amp;nbsp; While HC08 assembly programming has similarities, and is backward compatible with the HC05, there are also a considerable number of differences that can simplify the code.&amp;nbsp; A complete reference to the newer instruction set may be found in the document, CPU08RM reference manual.&amp;nbsp; This also contains assembly programming examples.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/files/microcontrollers/doc/ref_manual/CPU08RM.pdf?fsrch=1" rel="nofollow" target="_blank"&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;A href="http://www.freescale.com/files/microcontrollers/doc/ref_manual/CPU08RM.pdf?fsrch=1" target="test_blank"&gt;http://www.freescale.com/files/microcontrollers/doc/ref_manual/CPU08RM.pdf?fsrch=1&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;If you were to consider the newer HCS08 devices, there are some further enhancements over the HC08, but the differences are fewer.&amp;nbsp; These are outlined within application note AN2717 "M68HC08 to HCS08 Transition".&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 21:05:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129376#M1934</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-04-04T21:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Freescale assembly Language</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129377#M1935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi venki&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'd say:&amp;nbsp; pick a processor and buy a development/demo kit for it that comes with the&lt;/DIV&gt;&lt;DIV&gt;Freescale CodeWarrior IDE.&amp;nbsp;&amp;nbsp;&amp;nbsp; You'll have everything you need to learn the assembly language in one package -- and a hardware platform to experiment with.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Or if that's too expensive for you right now (been there!) -- download the CodeWarrior special edition that supports the 'S08 seriec of Freescale components and learn the language via the full-chip simulator built-in to that&amp;nbsp;IDE.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You'll be an expert before you know it!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 07:55:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129377#M1935</guid>
      <dc:creator>Curt</dc:creator>
      <dc:date>2007-04-13T07:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Freescale assembly Language</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129378#M1936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Dear Peg,&lt;/DIV&gt;&lt;DIV&gt;Pls let me know what the below code does&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;MOV&amp;nbsp;&amp;nbsp;&amp;nbsp; #$01,$42&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Venki&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 13:57:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129378#M1936</guid>
      <dc:creator>venki</dc:creator>
      <dc:date>2007-04-17T13:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Freescale assembly Language</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129379#M1937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Venki,&lt;BR /&gt;&lt;BR /&gt;This is where you need to look into the S08 CPU Reference Manual advised by Bigmac.&lt;BR /&gt;&lt;BR /&gt;MOV means "move"&lt;BR /&gt;# means immediate value.&lt;BR /&gt;$ means hexadecimal.&lt;BR /&gt;&lt;BR /&gt;So &lt;B&gt;MOV #$01, $42&lt;/B&gt; means &lt;B&gt;put the value "1" at address 0x42&lt;/B&gt;.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alban.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 15:32:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129379#M1937</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-04-17T15:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Freescale assembly Language</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129380#M1938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Venki,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What Alban said is correct, However if we are still talking about the GP32 you are better looking at&lt;/DIV&gt;&lt;DIV&gt;CPU08RM.pdf to find out what MOV does, and&lt;/DIV&gt;&lt;DIV&gt;MC68HC908GP32.pdf to find that $42 is just an address in the RAM.&lt;/DIV&gt;&lt;DIV&gt;So what it actually does is up to the programmer.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 17:03:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129380#M1938</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-04-17T17:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Freescale assembly Language</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129381#M1939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Dear Peg,&lt;/DIV&gt;&lt;DIV&gt;Pls go through attached file &amp;amp; help me .&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Venki&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 19:32:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129381#M1939</guid>
      <dc:creator>venki</dc:creator>
      <dc:date>2007-04-17T19:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Freescale assembly Language</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129382#M1940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Venki,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Within your code snippet, there are tests for a total of five different&amp;nbsp;timing events, presumably the result of a periodic timer interrupt.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;The first timing event utilises a word value at RAM address $45, used as a counter, and a further word value at $47 that contains the address of a sub-routine to be executed in the event of timeout.&amp;nbsp; The contents of these registers will have been setup elsewhere within the program, likely outside of the interrupt code.&amp;nbsp; You will need to search for the other locations that write to these registers to identify what the timing events actually mean.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;The processing of&amp;nbsp;the timing event -&lt;/FONT&gt;&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT size="2"&gt;Test counter value ($45/$46), and if non-zero, decrement the&amp;nbsp;value - otherwise skip to next event.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2"&gt;Test new counter value, and if zero (timeout), continue with&amp;nbsp;current event&amp;nbsp;- otherwise skip to next event.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2"&gt;Test sub-routine address value ($47/$48), and if zero (invalid address), skip to next event.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2"&gt;Execute sub-routine (JSR&amp;nbsp; ,X).&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Each timing event follows a similar pattern, although the code is not quite identical, presumably because of the compiled C origins.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 00:31:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129382#M1940</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-04-18T00:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Freescale assembly Language</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129383#M1941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Dear Mac,&lt;/DIV&gt;&lt;DIV&gt;Pls find attached file &amp;amp; give your comments&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Venki&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 14:41:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129383#M1941</guid>
      <dc:creator>venki</dc:creator>
      <dc:date>2007-04-18T14:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Freescale assembly Language</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129384#M1942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Dear Mac,&lt;/DIV&gt;&lt;DIV&gt;I want to start learning Embeded C.Pls help me.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Venki&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 12:47:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Freescale-assembly-Language/m-p/129384#M1942</guid>
      <dc:creator>venki</dc:creator>
      <dc:date>2007-04-24T12:47:52Z</dc:date>
    </item>
  </channel>
</rss>

