News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Calling Conventions

Started by r00, December 23, 2004, 04:42:58 PM

Previous topic - Next topic

r00

Does MASM still support calling conventions such as


BASIC, FORTRAN, PASCAL  ontop of STDCALL, SYSCALL ?


Regards r00

Tedd

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.
No snowflake in an avalanche feels responsible.

MANT

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.