Message-ID: <000501bf1289$b2f0ac80$74ccd3c8@computer> From: "Laurence Patrick" To: Subject: Assembler Date: Sat, 9 Oct 1999 16:08:34 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Reply-To: djgpp AT delorie DOT com Hi, I'm learning C and I'm using djgpp to compile my programs. I was reading a book and I copy a program that was in there but when I tried to compile there was an error : In function 'ipb': Error: parse error before 'mov' here is the function where the error happened ipb(int i) { asm mov dx,i /* <--- The rhide pointer the error to this line */ asm in ax,dx } I compiled the program in other compiler and it worked. I would like to know if someone could help me to compile this program in the rhide (djgpp). Thanks, Sean Nicholas