Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ User's Guide - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

     #pragma aux __cdecl "_*" \
                parm caller [] \
                value struct float struct routine [eax] \
                modify [eax ecx edx]

Notes:

 1. All symbols are preceded by an underscore character.

 2. Arguments are pushed on the stack from right to left.  That is, the last
    argument is pushed first.  The calling routine will remove the arguments
    from the stack.

 3. Floating-point values are returned in the same way as structures.  When
    a structure is returned, the called routine allocates space for the
    return value and returns a pointer to the return value in register EAX.

 4. Registers EAX, ECX and EDX are not saved and restored when a call is
    made.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson