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

From: "Alvin Lau" <alvin_lau AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: How to write protected mode far call in AT&T style
Date: Wed, 14 Jun 2000 12:53:25 +0800
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Original-NNTP-Posting-Host: ts21291.hknet.com
Message-ID: <39470e99@newsgate.hknet.com>
NNTP-Posting-Host: news.hknet.com
X-Trace: 14 Jun 2000 13:03:30 +0800, news.hknet.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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