www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/19/12:42:41

From: Luke Lee <comforth AT ms2 DOT hinet DOT net>
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
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 -

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019