Help!

Erik Mouw J.A.K.Mouw@ITS.TUDelft.NL
Sat Sep 15 12:12:00 GMT 2001


On Sat, Sep 15, 2001 at 09:53:22AM -0600, Donny Nunez  wrote:
> Hi my name is Donny, I'm from Costa Rica,  Could you do me a favor? 
> I neen a gcc that generated 16-bits code, I'm making a operating
> system, and i need to access that bios services, Can you help me?
> Where I can find this compiler?.  Thanks

I don't think gcc is able to generate 16 bit code for the 80x86 family,
but the GNU assembler certainly is by using the ".code16" directive.
For an example, have a look at the file arch/i386/boot/setup.S in a
recent linux-2.4 kernel.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/



More information about the Gcc mailing list