www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/21/21:14:52

Date: Thu, 22 Jun 2000 06:44:12 +0530
Message-Id: <200006220114.GAA00870@midpec.com>
From: Prashant TR <tr AT midpec DOT com>
To: lanugo AT SCEMOCHISPAMMAflashmail DOT com
CC: djgpp AT delorie DOT com
In-reply-to: <AX945.19934$Q7.498542@news-east.usenetserver.com>
(lanugo AT SCEMOCHISPAMMAflashmail DOT com)
Subject: Re: Calling an interrupt from inline assembly
References: <AX945.19934$Q7 DOT 498542 AT news-east DOT usenetserver DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 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");

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

should be OK.

Prashant

- Raw text -


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