On Tue, Aug 07, 2007 at 08:10:29AM -0400, James Carlson wrote: > Jason King writes: > > For a given instruction, there might be multiple correct strings > > that it disassembles to. Are there any requirements for a specific > > output when there might be multiple correct values (such as 'add > > %g0, 0x5, %l1' vs. 'inc 0x5, %l1') ? > > I'd say that the variant chosen should be the one most legible to > humans (the latter of those two is better than the former), and still > acceptable syntax for /usr/bin/as.
I might be a little less aggressive: pseudo-instructions like 'tst' are a no-brainer, but I remember when someone putback the change to emit 'inc', and 'bclr' -- I found it more confusing the clarifying. Adam -- Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl _______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org