From: "Stefan Viljoen" Newsgroups: comp.os.msdos.djgpp Subject: Re: Asm -> .cc ? Date: Sat, 26 May 2001 20:40:27 +0200 Organization: The South African Internet Exchange Lines: 33 Message-ID: <9eoste$43r$1@ctb-nnrp1.saix.net> References: <9eop9s$31k$1 AT info DOT cyf-kr DOT edu DOT pl> NNTP-Posting-Host: pc53-01-p150.nt.saix.net X-Trace: ctb-nnrp1.saix.net 990901998 4219 155.239.176.150 (26 May 2001 18:33:18 GMT) X-Complaints-To: abuse AT saix DOT net NNTP-Posting-Date: 26 May 2001 18:33:18 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Rafal Maj wrote in message news:9eop9s$31k$1 AT info DOT cyf-kr DOT edu DOT pl... > Hi, > where can I find some FAQ or DOCs to learn how to translate typical asm code > to asm syntax that I can use in .cc file for DJGPP ? > And can someone be so nice to spend some time and write lilte .cc file that > will use folowing code : > ======[snip]======= > WaitVRT proc near > > push ax > push dx > mov dx,3DAh > WaitVRT1: in al,dx > test al,8 > jz WaitVRT1 > WaitVRT2: in al,dx > test al,8 > jnz WaitVRT2 > pop dx > pop ax > ret Check out http://home.intekom.com/rylan/prog.html - I have code that uses NASM, a seperate assembler, that takes intel syntax and does this among other things. Stefan Viljoen