From: "Jacek K." Newsgroups: comp.os.msdos.djgpp Subject: Calling procedure via call gate Date: Fri, 8 Jun 2001 14:37:45 +0200 Organization: tp.internet - http://www.tpi.pl Lines: 22 Message-ID: <9fqhf9$7jc$1@news.tpi.pl> NNTP-Posting-Host: pe160.gdansk.cvx.ppp.tpnet.pl X-Trace: news.tpi.pl 992004393 7788 213.76.28.160 (8 Jun 2001 12:46:33 GMT) X-Complaints-To: usenet AT tpi DOT pl NNTP-Posting-Date: 8 Jun 2001 12:46:33 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 I need a macro that would push a variable number of parameters on the stack and make a far call (via call gate). It should do something like this: call_serv(sel, arg1, arg2, ..., argN) push argN ... push arg2 push arg1 call sel:0x00 How should it look ? Thanks for help Jacek