The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: r00 on December 23, 2004, 04:42:58 PM

Title: Calling Conventions
Post by: r00 on December 23, 2004, 04:42:58 PM
Does MASM still support calling conventions such as


BASIC, FORTRAN, PASCAL  ontop of STDCALL, SYSCALL ?


Regards r00
Title: Re: Calling Conventions
Post by: Tedd on December 23, 2004, 05:34:43 PM
It certainly supports PASCAL and C conventions.
I'm not sure of the details for Basic and Fortran, but I assume they're either the same as one of these, or pretty similar; afterall, there are only so many ways you can do these things.
Title: Re: Calling Conventions
Post by: MANT on December 23, 2004, 07:27:04 PM
My MASM 6.0 manual has example of calling MASM procs from C, FORTRAN, BASIC, Pascal, and QuickPascal. The official calling conventions it supports are C, SYSCALL, STDCALL, BASIC, FORTRAN, PASCAL. Later versions may support more.