<?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 LC60: How many instruction did my application use? in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/LC60-How-many-instruction-did-my-application-use/m-p/151038#M3597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm using CW 6.1 and C for my LC60 application.&lt;/DIV&gt;&lt;DIV&gt;Can CW tell me how many instruction my application used?&lt;/DIV&gt;&lt;DIV&gt;Not program memory, I need instruction count.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;BP.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Apr 2008 20:14:54 GMT</pubDate>
    <dc:creator>BasePointer</dc:creator>
    <dc:date>2008-04-28T20:14:54Z</dc:date>
    <item>
      <title>LC60: How many instruction did my application use?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/LC60-How-many-instruction-did-my-application-use/m-p/151038#M3597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm using CW 6.1 and C for my LC60 application.&lt;/DIV&gt;&lt;DIV&gt;Can CW tell me how many instruction my application used?&lt;/DIV&gt;&lt;DIV&gt;Not program memory, I need instruction count.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;BP.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 20:14:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/LC60-How-many-instruction-did-my-application-use/m-p/151038#M3597</guid>
      <dc:creator>BasePointer</dc:creator>
      <dc:date>2008-04-28T20:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: LC60: How many instruction did my application use?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/LC60-How-many-instruction-did-my-application-use/m-p/151039#M3598</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;I am not aware of such a feature.&lt;/DIV&gt;&lt;DIV&gt;Why do you need to know that?&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>Mon, 28 Apr 2008 20:21:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/LC60-How-many-instruction-did-my-application-use/m-p/151039#M3598</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-04-28T20:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: LC60: How many instruction did my application use?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/LC60-How-many-instruction-did-my-application-use/m-p/151040#M3599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I want to compare it with other companies requirements.&lt;/DIV&gt;&lt;DIV&gt;Can I save or export assembly window in hi-ware?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;10x,&lt;/DIV&gt;&lt;DIV&gt;BP.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 21:07:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/LC60-How-many-instruction-did-my-application-use/m-p/151040#M3599</guid>
      <dc:creator>BasePointer</dc:creator>
      <dc:date>2008-04-28T21:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: LC60: How many instruction did my application use?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/LC60-How-many-instruction-did-my-application-use/m-p/151041#M3600</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;No this is not working either.&lt;/DIV&gt;&lt;DIV&gt;What you can do is either disassemble the .abs file and look at the listing file&lt;/DIV&gt;&lt;DIV&gt;or use the command DASM&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1- Disassemble the abs file:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; - Open a Window Explorer window&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; - Browse for {Install}\prog&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; - Start Decoder.exe&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Select "File" -&amp;gt; "Open" and select your .abs file name.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The decoder will generate a file with extension .lst containing disassembled code of the application.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; As far as I remember the will will contains disassembly listing of all code and constant sections.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; You can also start the decoder from the command line if you prefer.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2- Use command DASM&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In&amp;nbsp;order to disassemble code between 0x1870 and 0x19FF, enter the following commands in&amp;nbsp;the&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;command window:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LF logfile.txt&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DASM 0x1870..0x19FF&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOLF&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; From&amp;nbsp;the MAP file you can retrieve the start and end address of&amp;nbsp;the memory areas used by&amp;nbsp;the application.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&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>Tue, 29 Apr 2008 17:04:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/LC60-How-many-instruction-did-my-application-use/m-p/151041#M3600</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-04-29T17:04:18Z</dc:date>
    </item>
  </channel>
</rss>

