This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]