gnupic: question - GPDASM and register names
Subject:
Re: question - GPDASM and register names
From:
Craig Franklin ####@####.####
Date:
28 Oct 2004 14:30:57 +0100
Message-Id: <4180AE8C.3080106@users.sourceforge.net>
David McNab wrote:
> Hi,
>
> Is there any way to persuade gpdasm to output register names instead
> of numbers?
>
> Eg:
> BSF STATUS,RP1
> instead of:
> BSF 0x3, 0x6
> ?
>
> gpdasm demands a '-p proctype' argument when it runs, so I thought it
> would exploit processor-specific knowledge to look up the names for
> registers and bits
>
Here is my standard gpdasm speech:
gpdasm wasn't really a design goal of mine. I needed a way to decode
the program memory sections of microchip's object files. Once I had the
library functions complete, it was simple enough to create a standalone
executable. Because of its humble beginnings, it is very simple. Only
a single pass. No advanced features.
gpdasm does everything I need it to. So I really don't want to spend
any time on it. If someone were to provide patches, I would gladly
accept them. Of course, I will have final approval on the changes
before they are committed.