|
для 8.01PL3 смотри manual.pdf страница 156, раздел "5.25 Mixing C and Assembler Code"
The name of the assembly language function is the name declared in C, with an underscore prepended. The GLOBAL pseudo-op is the assembler equivalent to the C extern keyword and the SIGNAT pseudo-op is used to enforce link time calling convention checking. Signature checking and the SIGNAT pseudo-op are discussed in more detail later in this chapter. Note that in order for assembly language functions to work properly they must look in the right place for any arguments passed and must correctly set up any return values. Local variable allocation (via the FNSIZE directive), argument and return value passing mechanisms are discussed in detail later in the
manual and should be understood before attempting to write assembly language routines.
E-mail: info@telesys.ru