delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/14/02:16:32

Date: Wed, 14 Jun 2000 11:45:28 +0530
Message-Id: <200006140615.LAA03124@midpec.com>
From: Prashant TR <tr AT midpec DOT com>
To: alvin_lau AT yahoo DOT com
CC: djgpp AT delorie DOT com
In-reply-to: <39470e99@newsgate.hknet.com> (alvin_lau@yahoo.com)
Subject: Re: How to write protected mode far call in AT&T style
References: <39470e99 AT newsgate DOT hknet 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

lcall $selector, $offset;

It's also in the DJGPP FAQ.

Prashant

> 
> I have a selector and offset of the int8 ISR, now I want to call this ISR
> directly by using inline assembly syntax in DJGPP. But I don't know how to
> write protected mode far call for AT&T assembly syntax.
> I only know using [pushf] first, then making the far call.
> 
> asm (
> "pushf\n"
> "..."        // Anyone can tell me how to do ?
> );
> 
> 

- Raw text -


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