Keil™, An ARM® Company

Technical Support

A51: LINE NUMBERS IN A51 LISTINGS


Information in this article applies to:

  • C166 Version 3.12
  • C166 Version 4.01
  • C251 Version 2.14
  • C51 Version 5.50

SYMPTOMS

The line numbers in my listing file don't match up with the actual lines in my assembler file. Every time I do a $INCLUDE, the "counter" advances the length of the .INC file. Is there an option to make the lising reflect only the contents of the .a51?

CAUSE

The line numbers advance in this manner as a convenience to the debugger, providing information on the object file.

RESOLUTION

There is no option to not count the line contents of $include files, and this column is not intended as a reference to the actual source file for purposes of editing, for example.

Last Reviewed: Tuesday, June 08, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure