www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/21/17:00:28

From: "Lanugo of the wandering souls" <lanugo AT SCEMOCHISPAMMAflashmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Calling an interrupt from inline assembly
Lines: 17
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <AX945.19934$Q7.498542@news-east.usenetserver.com>
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Complaints-To: support AT usenetserver DOT com
NNTP-Posting-Date: Wed, 21 Jun 2000 16:53:52 EDT
Organization: WebUseNet Corp http://www.usenetserver.com - Home of the fastest NNTP servers on the Net.
Date: Wed, 21 Jun 2000 22:57:40 +0200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi, I'm new here, and I'm a newbie to asm programming.
This is my problem: I need to call an INT instruction (I do not know nearly
anything about assembly, I'm just copying some code found on a website,
written for another compiler), but when I write

 asm ("mov %ax, $0x13" : "int $0x10");

the compiler does not work properly due to a parse error befor ).

I bet it is quite a stupid problem, for you, and I'm sorry to post in here
(I should study something about djgpp and asm before), but I am quite in a
hurry...

thank you in advance,
Lanugo


- Raw text -


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