From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3045 invoked by alias); 13 Jan 2005 17:42:41 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 2942 invoked from network); 13 Jan 2005 17:42:26 -0000 Received: from unknown (HELO nexus.cs.usfca.edu) (138.202.170.4) by sourceware.org with SMTP; 13 Jan 2005 17:42:26 -0000 Received: by nexus.cs.usfca.edu (Postfix, from userid 203) id 13E6D21A3C; Thu, 13 Jan 2005 09:42:22 -0800 (PST) To: binutils@sources.redhat.com, cruse@cs.usfca.edu, hjl@lucon.org Subject: Re: PATCH: Fix i386 disassembler with index == 0x4 in SIB (Re: objdump bug-report) Message-Id: <20050113174222.13E6D21A3C@nexus.cs.usfca.edu> Date: Thu, 13 Jan 2005 17:42:00 -0000 From: cruse@cs.usfca.edu (Allan B. Cruse) X-SW-Source: 2005-01/txt/msg00127.txt.bz2 On Thu, 13 Jan 2005, "H. J. Lu" 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