www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/05/17:45:11

From: "Jacek K." <xos AT o2 DOT pl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Accessing registers from C
Date: Thu, 5 Jul 2001 23:23:56 +0200
Organization: tp.internet - http://www.tpi.pl
Lines: 18
Message-ID: <9i2m71$qlf$1@news.tpi.pl>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010704095943 DOT 3231S-100000 AT is>
NNTP-Posting-Host: pe27.gdansk.cvx.ppp.tpnet.pl
X-Trace: news.tpi.pl 994368545 27311 213.76.28.27 (5 Jul 2001 21:29:05 GMT)
X-Complaints-To: usenet AT tpi DOT pl
NNTP-Posting-Date: 5 Jul 2001 21:29:05 GMT
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> To call a procedure via a call gate, you will probably need either
> inline assembly or an assembly wrapper anyway, right?  So why did you
> specifically said you want something that isn't inline assembly?

Because I don't want. Unfortunately gcc is very limited. If there was
something like this:

__attribute__ ((("far")))
  and
__attribute__ ((("interrupt")))          // for intel processors

I wouldn't have a problem.

Jacek



- Raw text -


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