gnupic: Proposal for gpdasm feature
Subject:
Proposal for gpdasm feature
From:
Jeff ####@####.####
Date:
21 Sep 2004 15:30:30 +0100
Message-Id: <200409211430.i8LEUCIV018536@ylpvm29.prodigy.net>
Hi all.
I've had some private email conversations with Craig proposing a new feature
for gpdasm. Craig feels it's time to bring it to the attention of the mailing
list to solicit your comments.
For many years I've been the maintainer of a set of disassemblers for 8052
and Z80 family CPUs (which can be downloaded from
http://home.pacbell.net/theposts - look for the D52 zip file). The focus of
my disassemblers is to produce an output file which could then be fed back
into a cross-assembler to produce a hex file functionally identical to the
hex file that was input to the disassembler.
An important aspect of these disassemblers is to output a file that is more
like an original source code file, with labels, symbols, and comments that
the user can specify in a plain ascii text control file that is read by the
disassembler.
I've done some preliminary work with gpdasm toward this goal, and you can
download a tar.gz file containing the results from
http://home.pacbell.net/theposts/private.
This new feature is invoked by a new option to gpdasm (-a). Without the -a
option, gpdasm will generate output identical to what it currently outputs.
By using the -a option, the format of the output will be in a form that will
be acceptable to gpasm, and will include labels, comments, etc as defined by
the user in the control file. The file 'test.dis' contains the normal output
of gpdasm, and the file 'test.dasm' is the output with the -a option. The hex
and control files are also included in the tar.gz file.
If you have an interest in having such a feature in gpdasm, please download
and look over the files and post your comments on the mailing list.
Thanks,
Jeff