<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>Inadvertent double spacing in .lst file body</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/36193/inadvertent-double-spacing-in-lst-file-body</link><description> 
Double spaced lines in our .lst files are unwanted. 

 
I use Keil uvision in the Embedded Microprocessor course that I
teach at NHTI, Concord&amp;#39;s Community College. On a seemingly random
basis, the lines of text in the .lst files are double spaced,
although</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Inadvertent double spacing in .lst file body</title><link>https://community.arm.com/thread/109290?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 02:23:54 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0ca92f5d-f55e-4320-aebb-2f5cddfbbfbc</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
While it may be a bit off-topic for your assembler class, this
really is a &lt;b&gt;&lt;i&gt;very&lt;/i&gt; common requirement&lt;/b&gt; in engineering.&lt;/p&gt;

&lt;p&gt;
We very often get text files from tools, equipment, etc which need
some (slight) &amp;quot;tweaking&amp;quot; to be used.&lt;/p&gt;

&lt;p&gt;
This might be done, for example, with scripting, programming, or
editor macros.&lt;/p&gt;

&lt;p&gt;
You would serve your students (and their future employers) well to
equip them with skills in this area ...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inadvertent double spacing in .lst file body</title><link>https://community.arm.com/thread/94164?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 02:17:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1ee32d51-062a-4fc5-8c1a-bb762c1c48e9</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Well that does, indeed, sound like the tools are actually
inserting the double line spacing - CRLF twice.&lt;/p&gt;

&lt;p&gt;
You will need to contact Keil support direct to report this.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inadvertent double spacing in .lst file body</title><link>https://community.arm.com/thread/70268?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 12:19:04 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:82fa9ba0-b6b7-40fc-8547-9dcde8777326</guid><dc:creator>Bill French</dc:creator><description>&lt;p&gt;&lt;p&gt;
More information, which I believe points at Keil as the
culprit:&lt;/p&gt;

&lt;p&gt;
I did a hex dump of the .lst file.&lt;br /&gt;
Wherever there is a line wrap of text there is a &amp;quot;Od0a&amp;quot; in the hex
file. (no double space on the paper).&lt;br /&gt;
Every where else, between lines there is a &amp;quot;0d0a0d0a&amp;quot; in the hex file
itself as as expected, there is double spacing of what comes out of
the printer.&lt;/p&gt;

&lt;p&gt;
I did not see this behavior on my laptop prior to installing the
latest version of Keil uvision 5. Upon rolling back to the previous
down loaded image of Kiel uvision 5 V 5.14.2.1, the problem went
away.&lt;/p&gt;

&lt;p&gt;
In the symbol table, between each symbol line there is &amp;quot;0a0d&amp;quot;, and
the lines of symbols are single spaced. After the symbols, there are
a couple of &amp;quot;0d0a0d0a0d0a&amp;quot; and that triple spacing in the listing
looks intentional.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inadvertent double spacing in .lst file body</title><link>https://community.arm.com/thread/70267?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 11:08:10 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:fed8d1bf-8f12-4418-9309-9539d450b7dc</guid><dc:creator>Bill French</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thank you, but we are not working in &amp;quot;C&amp;quot;. This is an assembly
language only course for Electronic Engineering Technology and
Computer Engineering Technology students.&lt;/p&gt;

&lt;p&gt;
The students have studied C++ but this is not a &amp;quot;C&amp;quot; based
course.&lt;/p&gt;

&lt;p&gt;
Bill French&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inadvertent double spacing in .lst file body</title><link>https://community.arm.com/thread/94165?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 11:00:45 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2c0e1a2a-c305-490d-afdb-55b28650213e</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
While annoying, reformatting text files for &amp;lt;TAB&amp;gt;
CR&amp;gt;&amp;lt;LF&amp;gt; issues would seem to be a high school level C
programming task.&lt;/p&gt;

&lt;p&gt;
This would have the added benefit of using STDIO file handling,
and how bytes/data are represented in memory vs files, a skill, based
of forum traffic, seem gravely lacking in today&amp;#39;s graduates.&lt;/p&gt;

&lt;p&gt;
From the Keil perspective I expect this is a fopen() &amp;quot;w&amp;quot; vs &amp;quot;wb&amp;quot;
type issue.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inadvertent double spacing in .lst file body</title><link>https://community.arm.com/thread/70265?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 10:04:50 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ec2522be-ca43-4951-b44b-463f46593fb4</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
What are you using to view the listing files?&lt;/p&gt;

&lt;p&gt;
Could this be a CR/LF/CRLF problem in the viewer ... ?&lt;/p&gt;

&lt;p&gt;
Also, what is the page width setting?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>