◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── See also: .MODEL, OPTION LANGTYPE:, INVOKE, PROTO, PROC, OPTION PROLOGUE:, /G<x>, /H, MASM 5.1 Compatibility C SYSCALL STDCALL BASIC FORTRAN PASCAL ┌───────┬───────┬───────┬───────┬───────┬───────┐ Leading Underscore │ X │ │ X │ │ │ │ ├───────┼───────┼───────┼───────┼───────┼───────┤ Capitalize All │ │ │ │ X │ X │ X │ ├───────┼───────┼───────┼───────┼───────┼───────┤ Arguments Left to Right │ │ │ │ X │ X │ X │ ├───────┼───────┼───────┼───────┼───────┼───────┤ Arguments Right to Left │ X │ X │ X │ │ │ │ ├───────┼───────┼───────┼───────┼───────┼───────┤ Caller Stack Cleanup │ X │ │ * │ │ │ │ ├───────┼───────┼───────┼───────┼───────┼───────┤ BP Saved │ │ │ │ X │ X │ X │ ├───────┼───────┼───────┼───────┼───────┼───────┤ :VARARG Allowed │ X │ X │ X │ │ │ │ └───────┴───────┴───────┴───────┴───────┴───────┘ * The STDCALL language type uses caller stack cleanup if the :VARARG parameter is used. Otherwise, the called routine must clean up the stack. The language type (langtype) determines the naming and calling conventions used by the assembler. This allows you to share code and data with modules written with other languages. Set the language type with the .MODEL or OPTION LANGTYPE: directives or with the /G<x> command-line option. Several directives allow you to specify a langtype parameter to temporarily override the language type. You can use the /H command-line option to limit the length of names sent to the object file. Use this option to work with languages that limit the maximum length of identifiers. -♦-