<?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: what does (*-SpSub) mean?</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125645#M710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT size="2"&gt;Hello Harry,&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;You will find this use of the asterisk character mentioned in the CW assembler manual.&amp;nbsp; Look in the "Assembler syntax" section, near the start of the "Expression" sub-section.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BLOCKQUOTE dir="ltr"&gt;&lt;DIV&gt;&lt;FONT face="Times-Roman" size="1"&gt;&lt;FONT size="2"&gt;"The special symbol ‘*’ represents the value of the location counter at the beginning&lt;/FONT&gt; &lt;FONT size="2"&gt;of the instruction or directive, even when several arguments are specified. ... "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Some other assemblers also allow the symbol '$' in a similar context, but apparently not CW.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Mar 2007 14:30:07 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2007-03-10T14:30:07Z</dc:date>
    <item>
      <title>what does (*-SpSub) mean?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125642#M707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;on Page 88 in one freescale file :"HCS08RMV1", I see one line like this:&lt;/DIV&gt;&lt;DIV&gt;SpSubSize:&amp;nbsp;&amp;nbsp;&amp;nbsp; equ (*-SpSub)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I don't understand this:&lt;/DIV&gt;&lt;DIV&gt;what do * and - and () mean here?&lt;/DIV&gt;&lt;DIV&gt;I didn't find any words explaining these.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 04:32:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125642#M707</guid>
      <dc:creator>HarrySun</dc:creator>
      <dc:date>2007-03-09T04:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: what does (*-SpSub) mean?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125643#M708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi, Harry:&lt;BR /&gt;&lt;BR /&gt;I will assume that this line of code is at the end of a subroutine called "SpSub".&lt;BR /&gt;&lt;BR /&gt;The "*" is a symbol that denotes the current program counter.&lt;BR /&gt;The rest (the minus and the parentheses) perform your usual math operations.&lt;BR /&gt;&lt;BR /&gt;The line is simply taking the value of the current program counter, subtracting the value of the program counter at the start of the subroutine, and setting "SpSubSize" to the result.&lt;BR /&gt;&lt;BR /&gt;In other words, it is setting "SpSubSize" to the size of the subroutine "SpSub" (probably to be used in a counter when moving the routine to ram).&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 05:13:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125643#M708</guid>
      <dc:creator>rocco</dc:creator>
      <dc:date>2007-03-09T05:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: what does (*-SpSub) mean?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125644#M709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Rocco,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;you are really a "trusted contributor" :smileyhappy:,this helps a lot and I could go ahead now.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;however, where did you find this explanation?why couldn't I find this in freescale datasheets or application notes?&lt;/DIV&gt;&lt;DIV&gt;I am puzzled as I am not a newbie and I have been through Motorola HC05,HC08 and QG8 now,while I didn't know this at all before...I use both C and assembly ....I have never seen something like this....maybe freescale intentionally hides this somewhere?or i missed very important info.??&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;well, you gave me fish for sure, but how about teaching me&amp;nbsp;how to fish?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;thanks&lt;/DIV&gt;&lt;P&gt;Message Edited by HarrySun on &lt;SPAN class="date_text"&gt;2007-03-09&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;01:23 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 21:21:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125644#M709</guid>
      <dc:creator>HarrySun</dc:creator>
      <dc:date>2007-03-09T21:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: what does (*-SpSub) mean?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125645#M710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT size="2"&gt;Hello Harry,&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;You will find this use of the asterisk character mentioned in the CW assembler manual.&amp;nbsp; Look in the "Assembler syntax" section, near the start of the "Expression" sub-section.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BLOCKQUOTE dir="ltr"&gt;&lt;DIV&gt;&lt;FONT face="Times-Roman" size="1"&gt;&lt;FONT size="2"&gt;"The special symbol ‘*’ represents the value of the location counter at the beginning&lt;/FONT&gt; &lt;FONT size="2"&gt;of the instruction or directive, even when several arguments are specified. ... "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Some other assemblers also allow the symbol '$' in a similar context, but apparently not CW.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2007 14:30:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125645#M710</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-03-10T14:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: what does (*-SpSub) mean?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125646#M711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thanks very much,BigMac,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;where did you find the CW ASSEMBLER manual?I searched the website and didn't find it.&lt;/DIV&gt;&lt;DIV&gt;could you give me a link?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Harry&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 20:38:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125646#M711</guid>
      <dc:creator>HarrySun</dc:creator>
      <dc:date>2007-03-14T20:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: what does (*-SpSub) mean?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125647#M712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In your {Install}\Help directory you have a Assembler_HC08.chm help file.&lt;/DIV&gt;&lt;DIV&gt;In your {Install}\Help\PDF directory you have the Assembler_HC08.pdf manual&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 21:46:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125647#M712</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-03-14T21:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: what does (*-SpSub) mean?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125648#M713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;thanks CrasyCat.&lt;/DIV&gt;&lt;DIV&gt;I didn't find Assembler_HC08.chm help file, though i found the other one under documentary folder.&lt;/DIV&gt;&lt;DIV&gt;maybe my install files are too old?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 02:38:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125648#M713</guid>
      <dc:creator>HarrySun</dc:creator>
      <dc:date>2007-03-15T02:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: what does (*-SpSub) mean?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125649#M714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I was assuming you are using CodeWarrior HC08 V5.x&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 17:59:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/what-does-SpSub-mean/m-p/125649#M714</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-03-15T17:59:14Z</dc:date>
    </item>
  </channel>
</rss>

