This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Inadvertent double spacing in .lst file body

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

Parents
  • More information, which I believe points at Keil as the culprit:

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

    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.

    In the symbol table, between each symbol line there is "0a0d", and the lines of symbols are single spaced. After the symbols, there are a couple of "0d0a0d0a0d0a" and that triple spacing in the listing looks intentional.

Reply
  • More information, which I believe points at Keil as the culprit:

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

    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.

    In the symbol table, between each symbol line there is "0a0d", and the lines of symbols are single spaced. After the symbols, there are a couple of "0d0a0d0a0d0a" and that triple spacing in the listing looks intentional.

Children