delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/12/23:32:11

From: "Stefan Viljoen" <Stefan_Viljoen AT excite DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ASM function?
Date: Mon, 13 Nov 2000 06:24:24 +0200
Organization: The South African Internet Exchange
Lines: 38
Message-ID: <8unqbn$pkc$1@ctb-nnrp2.saix.net>
References: <8umg84$3vh$1 AT lacerta DOT tiscalinet DOT it>
NNTP-Posting-Host: psw53-ov2-p22.ec.saix.net
X-Trace: ctb-nnrp2.saix.net 974089399 26252 155.239.161.22 (13 Nov 2000 04:23:19 GMT)
X-Complaints-To: abuse AT saix DOT net
NNTP-Posting-Date: 13 Nov 2000 04:23:19 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

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