<?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>8-bit MicrocontrollersのトピックRe: Any MC9S08QG8 Assembly Language Code Examples out there?</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-MC9S08QG8-Assembly-Language-Code-Examples-out-there/m-p/132924#M3211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Balok,&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;You may find a little more variation in the CW examples given for the various HC08 devices.&amp;nbsp; While not directly applicable to your board, they can probably be easily adaped - some of the labels associated the peripheral registers may differ slightly.&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;Your immediate problem sounds&amp;nbsp;quite simple.&amp;nbsp; Since you are using external hardware to switch power to the device, you don't have to worry about the use of any of the stop modes.&amp;nbsp; Do any of your tasks require non-volatile data to be stored in flash?&amp;nbsp; I presume that you are using separate inputs for each key (not a matrix key pad) in order to implement the power control.&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;I did something like this a couple of years ago, using one of the HC08 devices.&amp;nbsp; In this case, the project ran off a couple of lithium cells.&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>Fri, 13 Oct 2006 21:16:54 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2006-10-13T21:16:54Z</dc:date>
    <item>
      <title>Any MC9S08QG8 Assembly Language Code Examples out there?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-MC9S08QG8-Assembly-Language-Code-Examples-out-there/m-p/132921#M3208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my first post, and my first opportunity to use a MOT / FreeScale processor in many years. I purchased a DEMO9s08qg8 demo board &amp;amp; got CodeWarrior up &amp;amp; running. The only code examples I've been able to find are in C. My application is very simple and time is short. What I'd really like to find are some example programs for the demo board written in assembler. Anybody know where to look?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Balok&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 05:35:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-MC9S08QG8-Assembly-Language-Code-Examples-out-there/m-p/132921#M3208</guid>
      <dc:creator>Balok</dc:creator>
      <dc:date>2006-10-12T05:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Any MC9S08QG8 Assembly Language Code Examples out there?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-MC9S08QG8-Assembly-Language-Code-Examples-out-there/m-p/132922#M3209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Balok,&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;Have a look in your CW directory, at ... \CodeWarrior_Examples\Hcs08\Assembly Examples.&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;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 10:18:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-MC9S08QG8-Assembly-Language-Code-Examples-out-there/m-p/132922#M3209</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-10-12T10:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Any MC9S08QG8 Assembly Language Code Examples out there?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-MC9S08QG8-Assembly-Language-Code-Examples-out-there/m-p/132923#M3210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Mac,&lt;BR /&gt;&lt;BR /&gt;Yeah, I saw that one. On my CD, there's only one timer skeleton example. I was hoping to find something with a little more meat, using that demo board. The application is quite simple. The hardware applies power to the micro when a key is pressed. The micro then grabs the power control pin, reads which key was hit &amp;amp; holds itself on until the selected task is complete.&lt;BR /&gt;I'll definately have to brush up on "C" eventually, but for this app? It's gotta be done by the end of next week.&lt;BR /&gt;&lt;BR /&gt;Thanks for the info,&lt;BR /&gt;Balok&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2006 00:32:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-MC9S08QG8-Assembly-Language-Code-Examples-out-there/m-p/132923#M3210</guid>
      <dc:creator>Balok</dc:creator>
      <dc:date>2006-10-13T00:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Any MC9S08QG8 Assembly Language Code Examples out there?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-MC9S08QG8-Assembly-Language-Code-Examples-out-there/m-p/132924#M3211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Balok,&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;You may find a little more variation in the CW examples given for the various HC08 devices.&amp;nbsp; While not directly applicable to your board, they can probably be easily adaped - some of the labels associated the peripheral registers may differ slightly.&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;Your immediate problem sounds&amp;nbsp;quite simple.&amp;nbsp; Since you are using external hardware to switch power to the device, you don't have to worry about the use of any of the stop modes.&amp;nbsp; Do any of your tasks require non-volatile data to be stored in flash?&amp;nbsp; I presume that you are using separate inputs for each key (not a matrix key pad) in order to implement the power control.&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;I did something like this a couple of years ago, using one of the HC08 devices.&amp;nbsp; In this case, the project ran off a couple of lithium cells.&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>Fri, 13 Oct 2006 21:16:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-MC9S08QG8-Assembly-Language-Code-Examples-out-there/m-p/132924#M3211</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-10-13T21:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Any MC9S08QG8 Assembly Language Code Examples out there?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-MC9S08QG8-Assembly-Language-Code-Examples-out-there/m-p/132925#M3212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Yes, the application is really easy functionally. Battery power saving and output pulse timing is critical. I'm trying to figure out how to enable a few peripherals, and disable all the rest. Right now, I think I'll read the input keys when power comes on, look up the bit string to output, and send 'em out with either the UART, or bang 'em out with a port pin, timed by the timer. Somewhere I'll check for low-battery and enable the watchdog to shut things off if it hangs. Then I'll shut off power &amp;amp; wait for the next power-on.&lt;BR /&gt;I was hoping to find some code to shut everything else off. The receiver is looking for a 24-bit NRZ code, at 500 uSec per bit. I wish to try the internal oscillator to produce this timing. If it can't hold the timing accuracy over temperature and battery voltage variations, I'll have to go crystal.&lt;BR /&gt;All in all, it looks like a good project to get my feet wet with the 9S08.&lt;BR /&gt;Any insights welcomed &amp;amp; appreciated.&lt;BR /&gt;Thanks,&lt;BR /&gt;Balok&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Oct 2006 01:56:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Any-MC9S08QG8-Assembly-Language-Code-Examples-out-there/m-p/132925#M3212</guid>
      <dc:creator>Balok</dc:creator>
      <dc:date>2006-10-14T01:56:12Z</dc:date>
    </item>
  </channel>
</rss>

