This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: GCC and 16-bit mode for x86 processor when writing boot code.
>>> "Smith, Stephen (SWCOE)" <Stephen.Smith@honeywell.com> 26.02.07 23:27 >>>
>I am writing some boot code for an x86 processor. I know that binutils
>assumes 32-bit mode and doesn't have anything analogous to code16.
It does: .code16
>What is the normal way of handling the 16bit mode until you've run
>enough code to switch to 32-bit flat mode? Any document I can look at?
See Linux, Xen and perhaps many other sources for examples.
Jan