Shawn Walker wrote: > On 21/09/2007, Jason King <jason at ansipunx.net> wrote: >> As a potential follow on to my work with implementing an unencumbered >> sparc libdisasm, I was wondering if there would be interest in adding >> ASI name support to the disassembly. >> >> I.e. instead of: >> >> lda [%r1 + %r2] 0x80, %r3 >> >> you'd see >> >> lda [%r1 + %r2] ASI_P, %r3 >> >> or perhaps >> >> lda [%r1 + %r2] ASI_PRIMARY, %r3 >> >> Similar for sta, etc. >> >> Myself, I find symbolic names easier to remember/deal with than >> arbitrary numbers, but I'd rather get the opinions of those who would >> be using this far more regularly than I would (I'm hoping they're >> reading these lists). >> >> Anyone care to comment? > > Having the option to chosee seeing the raw values or the symbolic > names would be useful (I have no idea if you can do that). I only say > this because if you needed to know the raw value for some reason, it > would save you from having to look it up for the reverse reason :)
Just always print them both.
