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


From: Etienne Lorrain <etienne_lorrain@yahoo.fr>
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.
I'm running in PM16 with 32bitSS so the ful 32bit eip is saved.
But as Alan said, 16bit mode with big segments is not normal.
So I'll just keep that patch local.
Thanks for the feedback.
--
jpa



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