delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/12/00:18:13

Message-ID: <B5E044AF4430D311B24D0060089CD8B1023ECD3B@hydmail01.hyd.wilco-int.com>
From: Prashant Ramachandra <rprash AT wilco-int DOT com>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: RE: inline asm
Date: Mon, 12 Feb 2001 10:39:12 +0530
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Reply-To: djgpp AT delorie DOT com

On Monday, February 12, 2001 10:21 AM, Jeremiah [SMTP:xdebugx AT emeraldis DOT com]
wrote:
| How do i call interrupts with inline assembly in djgpp compiler. 
| like:
|  int 25h
| ?

asm ("int $0x25");

But if you want to call real mode interrupts, use __dpmi_int. Or if you want
to stick to assembler, you'll need to setup the parameters and call int 31h
manually.
--
Prashant TR <tr AT midpec DOT com>
Web: http://www.midpec.com/



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

- Raw text -


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