delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/13/01:45:38

From: "R.e." <re_0 AT fcmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ASM function?
Date: Mon, 13 Nov 2000 07:33:41 +0100
Organization: Tiscali Spa
Lines: 45
Message-ID: <8uo27m$r16$1@lacerta.tiscalinet.it>
References: <8umg84$3vh$1 AT lacerta DOT tiscalinet DOT it> <8unqbn$pkc$1 AT ctb-nnrp2 DOT saix DOT net>
NNTP-Posting-Host: rm1-296.dialup.tiscalinet.it
X-Trace: lacerta.tiscalinet.it 974097462 27686 62.11.120.40 (13 Nov 2000 06:37:42 GMT)
X-Complaints-To: newsadmin AT tiscali DOT it
NNTP-Posting-Date: 13 Nov 2000 06:37:42 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

thanks

"Stefan Viljoen" <Stefan_Viljoen AT excite DOT com> wrote in message
news:8unqbn$pkc$1 AT ctb-nnrp2 DOT saix DOT net...
>
> R.e. <re_0 AT fcmail DOT com> wrote in message
> news:8umg84$3vh$1 AT lacerta DOT tiscalinet DOT it...
> > hi,
> > i have write this very much simple program that do nothing:
> >
> > #include <stdio.h>
> > #include <conio.h>
> > main()
> > {
> >  asm{
> >   mov ax,3h
> >   int 10h
> >  }
> >  return (0);
> > }
> >
> > When i compile it with djgpp i see this error:
> >
> > "The system cannot execute the specified program."
> >
> > How *.h file i must use for the asm function?
>
> Hi
>
> Take a look at http://home.intekom.com/rylan/ and go to the DJGPP
> programming page - there is a lot of info and examples on how to do Intel
> format assembly under DJGPP.... some of it I tried to make as simple and
as
> clear as possible so you can get an idea how it works.
>
> Regards,
>
> Stefan Viljoen
> F/EMS Dispatcher
> Potchefstroom EMS
> South Africa
>
>


- Raw text -


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