Double spaced lines in our .lst files are unwanted.
I use Keil uvision in the Embedded Microprocessor course that I teach at NHTI, Concord's Community College. On a seemingly random basis, the lines of text in the .lst files are double spaced, although in the symbol table, the lines are single spaced.
In our lab, where identical software is installed, some systems double space the listing and some single space the listing. I have searched high and low for a setting that controls this and have been unsuccessful.
When I upgraded my instructor's laptop to the latest version of Keil, it started double spacing. I had to go back to the previous version to get single spacing on the .lst.
Inadvertent double spacing is unacceptable for my lecture examples and in the labs that the students submit to me.
Can anyone tell me what causes double spacing in the main body (but not the symbol table) of a .lst file?
Thank you, Bill French Professor, EET / CPET NHTI, Concord's Community College Concord NH
wfrench@ccsnh.edu
While annoying, reformatting text files for <TAB> CR><LF> issues would seem to be a high school level C programming task.
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's graduates.
From the Keil perspective I expect this is a fopen() "w" vs "wb" type issue.
While it may be a bit off-topic for your assembler class, this really is a very common requirement in engineering.
We very often get text files from tools, equipment, etc which need some (slight) "tweaking" to be used.
This might be done, for example, with scripting, programming, or editor macros.
You would serve your students (and their future employers) well to equip them with skills in this area ...