Re: [cc65] ca65: Finding out which lines assembled into which addresses

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2005-12-07 19:16:21
On Wed, Dec 07, 2005 at 07:02:22PM +0100, Spiro Trikaliotis wrote:
> This could be done by processing the input file set and counting the
> lines. Nevertheless, I hope the assembler should know the file name and
> line number by itself. Thus, I ask myself if it is possible (without too
> much work) for ca65 to include that information in the output of the
> listing file?

Adding a line counter to the listing file shouldn't be too much work, but for
my taste the left part of each line - 24 chars with all sorts of info - is
already a lot. Adding another 7 chars (6 digit line count plus a space) would
make the listing file almost unusable on a 80 column terminal.

I don't know exactly, what you're trying to do, but how about using the
disassembler? You wouldn't get the exact same output for file B, but it's easy
to assign comments to specific code locations.
   
Or maybe I can make the infos in the left columns of listing output
switchable, but this is more work.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Dec 7 19:16:35 2005

This archive was generated by hypermail 2.1.8 : 2005-12-07 19:16:37 CET