www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/09/14:58:00

Message-ID: <000501bf1289$b2f0ac80$74ccd3c8@computer>
From: "Laurence Patrick" <laurphug AT zaz DOT com DOT br>
To: <djgpp AT delorie DOT com>
Subject: Assembler
Date: Sat, 9 Oct 1999 16:08:34 -0300
MIME-Version: 1.0
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019