delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/12/11:30:17

From: "R.e." <re_0 AT fcmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: ASM function?
Date: Sun, 12 Nov 2000 17:23:18 +0100
Organization: Tiscali Spa
Lines: 23
Message-ID: <8umg84$3vh$1@lacerta.tiscalinet.it>
NNTP-Posting-Host: rm1-875.dialup.tiscalinet.it
X-Trace: lacerta.tiscalinet.it 974046276 4081 62.11.122.107 (12 Nov 2000 16:24:36 GMT)
X-Complaints-To: newsadmin AT tiscali DOT it
NNTP-Posting-Date: 12 Nov 2000 16:24:36 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

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?

thanks


- Raw text -


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