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] |
I have found that recent versions of gas allow use of the .code16 directive in assembler source targeting x86. I was able to write my bootsector using this method.
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.
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?
BTW, I am using binutils 2.17.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |