From: "Jacek K." Newsgroups: comp.os.msdos.djgpp Subject: Re: Accessing registers from C Date: Wed, 4 Jul 2001 01:44:25 +0200 Organization: tp.internet - http://www.tpi.pl Lines: 19 Message-ID: <9htlpv$o5t$1@news.tpi.pl> References: NNTP-Posting-Host: pe30.gdansk.cvx.ppp.tpnet.pl X-Trace: news.tpi.pl 994204287 24765 213.76.28.30 (3 Jul 2001 23:51:27 GMT) X-Complaints-To: usenet AT tpi DOT pl NNTP-Posting-Date: 3 Jul 2001 23:51:27 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 Uzytkownik "Eli Zaretskii" napisal w wiadomosci news:Pine DOT SUN DOT 3 DOT 91 DOT 1010702091418 DOT 3012G-100000 AT is... > > On Sun, 1 Jul 2001, Jacek K. wrote: > > > Are there some instructions/macros to access CPU registers? > > Can you tell what do you need that for? DJGPP has several provisions > in the library which normally make accessing the registers > unnecessary. Section 17.8 of the FAQ gives a couple of examples. I need to call a procedure via call gate. Because arguments must be passed "manualy", doing it by registers will be faster then by stack. Jacek