From: Dead_and_gone Newsgroups: comp.os.msdos.djgpp Subject: Re: New to DJGPP c++compiler Date: Thu, 12 Dec 1996 21:24:41 -0600 Organization: Novia Internetworking <> 33.6kbps dialup; 402/390-2NET Lines: 28 Message-ID: <32B0CC79.32DD@novia.net> References: <01bbe84d$3628f400$6caceccd AT bastards DOT ntic DOT qc DOT ca> NNTP-Posting-Host: shadowwing.novia.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp bastards wrote: > > Hi, I'm now trying the DJGPP compiler and would like to know how to inclue > inline assembly in my programs.. Like in other C Compiler: > > ASM{ > mov ax,013 > } > > /*This test do nothing*/ > > But I think it's not the same kind of ASM in DJGPP so, anybody could tell > me how do pass some ASM? > > THanks > -- > [bastards AT ntic DOT qc DOT ca] if I have read the info correctly from http://www.rt66.com/~brennan/djgpp/index.html under "Brennan's Guide to Inline Assembly with Djgpp2" that command should look as follows - asm("movw $013,%eax"); I think this is right I am stilll trying to do the same thing myself but if this isn't right I sure would likesomeone to tell me. You also may want to download that file and read it! alaric AT novia DOT net