From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18068 invoked by alias); 10 Apr 2006 09:18:19 -0000 Received: (qmail 18060 invoked by uid 22791); 10 Apr 2006 09:18:18 -0000 X-Spam-Check-By: sourceware.org Received: from web26912.mail.ukl.yahoo.com (HELO web26912.mail.ukl.yahoo.com) (217.146.177.79) by sourceware.org (qpsmtpd/0.31) with SMTP; Mon, 10 Apr 2006 09:18:17 +0000 Received: (qmail 70845 invoked by uid 60001); 10 Apr 2006 09:18:14 -0000 Message-ID: <20060410091814.70843.qmail@web26912.mail.ukl.yahoo.com> Received: from [80.168.43.100] by web26912.mail.ukl.yahoo.com via HTTP; Mon, 10 Apr 2006 11:18:14 CEST Date: Mon, 10 Apr 2006 10:41:00 -0000 From: Etienne Lorrain Subject: Re: .code16gcc, i386, and loop/jcc/jmp data-size overrides To: binutils@sourceware.org, no_mayl@hotmail.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00140.txt.bz2 > Would it be ok for gas to generate extra size prefixes when compiling with code16gcc? > > Like that the produced object with 16bit code could run with an EIP > 0xffff. > It would seem that the spirit of code16gcc is to be 32bit allover anyway. Any interrupt or exception in 16 bits mode will only save the lower 16 bits of the program counter IP, so any code with EIP > 0xffff cannot be interrupted. Etienne. ___________________________________________________________________________ Découvez le nouveau Yahoo! Messenger : appelez vers des téléphones en France et à partir de 0,012 €/minute ! Téléchargez sur http://fr.messenger.yahoo.com