delorie.com/archives/browse.cgi | search |
From: | "Alexei A. Frounze" <dummy_addressee AT hotmail DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: far functions with GCC |
Date: | Wed, 10 Jan 2001 21:04:01 -0500 |
Lines: | 31 |
Message-ID: | <93j48r$aaaov$1@ID-57378.news.dfncis.de> |
References: | <93ie7g$17lu$1 AT berg DOT samara DOT net> |
NNTP-Posting-Host: | ip193.rochester6.ny.pub-ip.psi.net (38.26.84.193) |
X-Trace: | fu-berlin.de 979178587 10824479 38.26.84.193 (16 [57378]) |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.50.4133.2400 |
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 |
When I use GCC as C compiler for PMode program, I make a wrapping functions in ASM. In particular, I make a FAR function in ASM that calls a NEAR C function and after that of course issues RETF. -- Alexei A. Frounze alexfru [AT] chat [DOT] ru frounze [AT] ece [DOT] rochester [DOT] edu http://alexfru.chat.ru http://members.xoom.com/alexfru/ http://welcome.to/pmode/ "Igor Shapiro" <shapiroigor AT mail DOT ru> wrote in message news:93ie7g$17lu$1 AT berg DOT samara DOT net... > Hi! > How can i define with gcc a far function (that ends with retf)? Is there > a way to do this? > > P.S. Yes, I really need FAR function in protected mode. > > -- > Best regards > Shapiro Igor > E-Mail: shapiroigor AT mail DOT ru > ICQ #70376055 > >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |