From: Luke Lee Newsgroups: comp.os.msdos.djgpp Subject: Does DJGPP allow pascal calling convention ? Date: Thu, 20 Feb 1997 00:50:06 +0800 Organization: Computing Center, Academia Sinica Lines: 12 Message-ID: <330B2F3E.4452@ms2.hinet.net> Reply-To: comforth AT ms2 DOT hinet DOT net NNTP-Posting-Host: @140.109.249.63 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Hi, Does any one know how to write a function with pascal calling convention ? I've got some 'machine codes' which are made of . And I've called them successfully, but, I must reverse my parameters everytime I call it. It seems that GCC does not support __pascal__ keyword or such kind of #pragma, I've looked for it in info. and FAQ... Besides, anyone knows how GNU pascal lay its parameter(s) ? Any help will be really appreciated. - Luke -