This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Fix i386 disassembler with index == 0x4 in SIB (Re: objdump bug-report)
- From: cruse at cs dot usfca dot edu (Allan B. Cruse)
- To: binutils at sources dot redhat dot com, cruse at cs dot usfca dot edu, hjl at lucon dot org
- Date: Thu, 13 Jan 2005 09:42:22 -0800 (PST)
- Subject: Re: PATCH: Fix i386 disassembler with index == 0x4 in SIB (Re: objdump bug-report)
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