This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: .code16gcc, i386, and loop/jcc/jmp data-size overrides
- From: Etienne Lorrain <etienne_lorrain at yahoo dot fr>
- To: binutils at sourceware dot org, no_mayl at hotmail dot com
- Date: Mon, 10 Apr 2006 11:18:14 +0200 (CEST)
- Subject: Re: .code16gcc, i386, and loop/jcc/jmp data-size overrides
> 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