From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15816 invoked by alias); 27 Apr 2007 12:40:43 -0000 Received: (qmail 15806 invoked by uid 22791); 27 Apr 2007 12:40:42 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 27 Apr 2007 13:40:40 +0100 Received: (qmail 4930 invoked from network); 27 Apr 2007 12:40:38 -0000 Received: from unknown (HELO 81-178-110-38.dsl.pipex.com) (paul@127.0.0.2) by mail.codesourcery.com with ESMTPA; 27 Apr 2007 12:40:38 -0000 From: Paul Brook To: binutils@sourceware.org Subject: Re: PATCH: PR binutils/4430: We aren't consistent on displacement in x86 disassembler Date: Fri, 27 Apr 2007 13:39:00 -0000 User-Agent: KMail/1.9.6 Cc: "H. J. Lu" , Jan Beulich References: <20070426135749.GA9666@lucon.org> <20070426163058.GA15122@lucon.org> <20070427033347.GA17560@lucon.org> In-Reply-To: <20070427033347.GA17560@lucon.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704271340.35414.paul@codesourcery.com> Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00360.txt.bz2 > in 64bit mode, it still displays > > 0: 8b 1c 25 00 00 00 80 mov 0xffffffff80000000,%ebx > > Should I make it signed like > > 0: 8b 1c 25 00 00 00 80 mov -0x80000000,%ebx > > Will it be confusing to people? The latter would confuse me. IMHO hex values should always be unsigned. However this is a 32-bit mov. Why not display it as a 32-bit hex value? Paul