Xref: utzoo comp.sys.ibm.pc:41806 alt.msdos.programmer:1009 Path: utzoo!utgpu!watserv1!watsci!batman From: batman@watsci.uwaterloo.ca (Marcell Stoer) Newsgroups: comp.sys.ibm.pc,alt.msdos.programmer Subject: Re: 386 instructions Message-ID: <580@watserv1.waterloo.edu> Date: 11 Jan 90 22:26:05 GMT References: <13346@garnet.BBN.COM> Sender: daemon@watserv1.waterloo.edu Reply-To: batman@watsci.UUCP (Marcell Stoer) Distribution: comp Organization: University of Waterloo, Waterloo Ontario, Canada Lines: 30 In article <13346@garnet.BBN.COM> hlison@bbn.com (Herb Lison) writes: >Does anyone know if there are any compiler options with MSC5.1 which >let the compiler generate 386 specific instructions where appropriate. >The documentation I have only shows the /G2 option for generating >286 code. Specifically, it would be nice to take advantage of >32 integer multiplies and shifts, or is this something the compiler >does automatically? > >Thanks, > >Herb Lison If you want to issue 386 instructions, you will need a compiler that generates 32 bit code. Microsoft has no such compiler. There are companies that provide these though. One is WATCOM ( presently the best C compiler around, refer to BYTE, PC Magazin, INFO World...etc), another is Metaware. These compilers generate 386 (32 bit) specific code that can make use of all the memory your machine has (passed the 640K limit of DOS). To run the executables you will also need a DOS-Extender that can switch your 386 to protected mode in order to make use of the 32 bit utilities. Phar Lap has a good DOS-Extender. These 386 compilers generally cost around $650-900 (think twice) and the DOS-Extender is $495 (when I bought it 2 months ago). If anyone is interested for more info on WATCOM you can e-mail me and I'll pass the info along. -- Marcell BITNET : Batman@Watsci.uwaterloo.ca ===============================================================================