delorie.com/archives/browse.cgi | search |
Date: | Wed, 14 Jun 2000 22:45:40 +0530 |
Message-Id: | <200006141715.WAA01487@www.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: | <394734f0$1@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> <200006140615 DOT LAA03124 AT midpec DOT com> <394734f0$1 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 |
I'm not sure since I haven't written such code in AT&T style before. But I think this should do it: lcall _oldtimer # possibly this is equivalent to # call fword ptr [_oldtimer]? Prashant > > My selector and offset value are put in variables: > __dpmi_paddr oldtimer; > oldtimer.selector; > oldtimer.offset32; > In this case, can I also use dollar-sign ($) ? > > Prashant TR <tr AT midpec DOT com> wrote in message > news:200006140615 DOT LAA03124 AT midpec DOT com... > > lcall $selector, $offset; > > > > It's also in the DJGPP FAQ. > > > > Prashant > > > >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |