PATCH: Fix i386 disassembler with index == 0x4 in SIB (Re: objdump bug-report)

Allan B. Cruse cruse@cs.usfca.edu
Thu Jan 13 17:42:00 GMT 2005



On Thu, 13 Jan 2005, "H. J. Lu" <hjl@lucon.org> wrote:
>
> Subject: Re: PATCH: Fix i386 disassembler with index == 0x4 in SIB (Re: objdump
> bug-report)
>
> ... IA-32 instruction reference manual says when INDEX == 0x4, scaled index
> is "[none]". Displaying "(%ebx,2)" is simply wrong here.
> 
> H.J.
>


Thanks, H.J.  

I use 'objdump' to help in teaching x86 architecture and assembly 
language to college students.  In the absence of a suitable AT&T-
syntax textbook that's comprehensive, the accuracy of objdump's
output, as a guide to cpu's behavior, is an invaluable resource.
Your efforts are much appreciated!

Allan  
 



More information about the Binutils mailing list