about .code16
Nick Clifton
nickc@redhat.com
Mon Feb 12 10:53:00 GMT 2001
More information about the Binutils mailing list
Mon Feb 12 10:53:00 GMT 2001
- Previous message (by thread): about .code16
- Next message (by thread): about .code16
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Tang, : In fact,I just want to code something for PC bootstrap(x86) : under FreeBSD using gas,ld,objcopy;(First,make target to elf,then : use "objcopy"onvert it to format binary);And only the codes with : directive .code16 works;So i want to know what's the difference it : makes. The .code 16 directive is documented in the assembler documentation, in the i386 specific section. Have a look at the file gas/doc/c-i386.texi for more information. : BTW,I don't find any .code16 in FreeBSD boot assembly codes; : Is there something else could be done to make things right? : (FreeBSD3.2 on x86;/sys/boot2/*.s) Sorry - that is out of my league. Maybe they use a command line switch to force 16 bit code by default ? Cheers Nick
- Previous message (by thread): about .code16
- Next message (by thread): about .code16
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list