Date: Thu, 22 Jun 2000 06:44:12 +0530
Message-Id: <200006220114.GAA00870@midpec.com>
From: Prashant TR
To: lanugo AT SCEMOCHISPAMMAflashmail DOT com
CC: djgpp AT delorie DOT com
In-reply-to:
(lanugo AT SCEMOCHISPAMMAflashmail DOT com)
Subject: Re: Calling an interrupt from inline assembly
References:
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
Precedence: bulk
> 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