Xref: news2.mv.net comp.os.msdos.djgpp:5593 From: P.F. Newsgroups: comp.os.msdos.djgpp Subject: Need help with built in assembly. Date: 2 Jul 1996 08:50:40 -0700 Organization: Zippo Lines: 14 Message-ID: <4rbggg$bk4@clark.zippo.com> NNTP-Posting-Host: wport.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I am trying to convert a Borland C++ inline assembly to Djgpp, but it didn't work. How do I convert a piece of code like this: asm { mov ah, 0 mov al, mode int 10h } mode is a 8 bit variable declared in C. When I do something like the followering: asm ("mov ah, 0"); It gives me error. asm ("mov al, %0" ::"c"(mode)) It also gives me error. What should I do, please help! One more question, is there any good IDE for Djgpp? Where can I get it? Thanks!