<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Eclipse gcc assembly output</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21978/eclipse-gcc-assembly-output</link><description>Hi, 
 What should I add to the makefiles to be able to generate an assembly code? Something similar to what is seen in the debug mode of Eclipse. I have tried -S/s but it either gives me an error or simply does not generate any .s file in the -Build</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 May 2017 07:18:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21978/eclipse-gcc-assembly-output" /><item><title>RE: Eclipse gcc assembly output</title><link>https://devzone.nordicsemi.com/thread/86237?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 07:18:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e713d098-5bf3-4227-b9d4-8de012835c01</guid><dc:creator>Vala</dc:creator><description>&lt;p&gt;Thanks for the answer. Is there anyway to see the instruction addresses (like what is shown in Eclipse debug mode)? I am monitoring program counter and the points from which exceptions are handled. Shortly I get some values from PC, PSP and MSP which indicate some instruction addresses. From assembly outputs I need to check where those addresses are.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse gcc assembly output</title><link>https://devzone.nordicsemi.com/thread/86236?ContentTypeID=1</link><pubDate>Thu, 11 May 2017 19:07:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc84fcfa-a1ac-4740-8ced-8c7b54b34b2f</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;I usually let  GCC do that with the options&lt;/p&gt;
&lt;p&gt;&lt;code&gt;-fverbose-asm -save-temps=obj&lt;/code&gt; as additional CFLAGS. Better readable than any post-processed assembly from .elf in most cases. Note that Eclipse may need a &amp;quot;Refresh&amp;quot; to see the generated files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>