disassembly options

Nick Clifton nickc@redhat.com
Fri Sep 7 14:52:00 GMT 2007


Hi Robin,

> It would be nice to have something that automatically told me that the MMR at 
> 0xffc00000 == "PLL_CTL", (the name actually means something - and is 
> referenced in the standard processor documentation), and get something that 
> looks like:
> 
>     20e4:       4a e1 c0 ff     P2.H = 0xffc0   /* 0xffc01f24 */;
>     20e8:       0a e1 00 00     P2.L = 0x0      /* 0xffc00000 */;
>     20ec:       10 95           R0 = W[P2] (Z)  /* PLL_CTL */;

I think that this would be useful.

You may find however that implementing it in a nice generic way will mean that 
you will have to rewrite the symbol/address decoding part of the disassembler. 
  Not that this would be a bad thing, it could certainly use a tidy up.

Cheers
   Nick



More information about the Binutils mailing list