gnupic: question - GPDASM and register names
Subject:
Re: question - GPDASM and register names
From:
Jeff ####@####.####
Date:
28 Oct 2004 05:00:32 +0100
Message-Id: <200410280400.i9S40QHV026011@ylpvm29.prodigy.net>
On Wednesday 27 October 2004 07:58 pm, 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
I'm privately working on modifications to gpdasm to output assembler-ready
code. What you suggest is similar to what I do in my 8052 disassembler, so it
should be doable for gpdasm (although more complex that what's required for
the 8052). I'll add it to my TODO list ;-)
Jeff