<?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 command to assemble in a makefile: in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/command-to-assemble-in-a-makefile/m-p/127619#M567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 3;"&gt;Hallo,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 3;"&gt;I'm building my application by using make and&amp;nbsp;not sure of the command to convert an assembly file, Do_On_Stack.asm,&amp;nbsp;to an object file - Do_On_Stack.o using the assembler.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 3;"&gt;i.e. the command in the makefile will be something like:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&gt;Do_On_Stack.o : Do_On_Stack.asm&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&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;$(ASSEMBLER) XXXX&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&gt;where: (ASSEMBLER) - is a variable pointing to the location of the assembler exe file ahc12.exe and XXX are the instructions that I'm looking for.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&gt;What is this command and what arguments, options must be given to the assembler? I'm using the cygwin shell which attempts to provide unix like functionality on a Windows machine.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&gt;Raghav&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN class="758233613-22032007"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2007 22:16:23 GMT</pubDate>
    <dc:creator>raghav_sarma</dc:creator>
    <dc:date>2007-03-22T22:16:23Z</dc:date>
    <item>
      <title>command to assemble in a makefile:</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/command-to-assemble-in-a-makefile/m-p/127619#M567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 3;"&gt;Hallo,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 3;"&gt;I'm building my application by using make and&amp;nbsp;not sure of the command to convert an assembly file, Do_On_Stack.asm,&amp;nbsp;to an object file - Do_On_Stack.o using the assembler.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 3;"&gt;i.e. the command in the makefile will be something like:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&gt;Do_On_Stack.o : Do_On_Stack.asm&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&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;$(ASSEMBLER) XXXX&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&gt;where: (ASSEMBLER) - is a variable pointing to the location of the assembler exe file ahc12.exe and XXX are the instructions that I'm looking for.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&gt;What is this command and what arguments, options must be given to the assembler? I'm using the cygwin shell which attempts to provide unix like functionality on a Windows machine.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 3;"&gt;&lt;SPAN class="758233613-22032007"&gt;Raghav&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN class="758233613-22032007"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 22:16:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/command-to-assemble-in-a-makefile/m-p/127619#M567</guid>
      <dc:creator>raghav_sarma</dc:creator>
      <dc:date>2007-03-22T22:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: command to assemble in a makefile:</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/command-to-assemble-in-a-makefile/m-p/127620#M568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Have a look in any assmebly HC12 project in the CW ide, there in the compiler/linker/assembler settings is a checkbox "show command line" (or similar) which dumps the complete command line used by this tool to the message window.&lt;BR /&gt;Note that the content of the message window can be copied with ctrl-c.&lt;BR /&gt;Of course you don't need all the options as used in CW, for example it passes to many access paths to the tools.&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;BR /&gt;&lt;BR /&gt;PS: If you do not have a project, create one with the wizard.&lt;BR /&gt;&lt;BR /&gt;BTW. the tools support both UNIX style / and dos style \ directory separators. I always had problems with the dos style because cygwin's sh treats them as escape character, so best if you work only with UNIX style paths.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 22:56:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/command-to-assemble-in-a-makefile/m-p/127620#M568</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2007-03-22T22:56:59Z</dc:date>
    </item>
  </channel>
</rss>

