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 - the code generator assumes that all eight 80x87 floating-point registers are http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
The code generator assumes that all eight 80x87 floating-point registers are
available for use within a function unless the "fpr" option is used to
generate backward compatible code (older Watcom compilers used four
registers as a cache).  The following form of the auxiliary pragma specifies
that the floating-point registers in the 80x87 cache may be modified by the
specified function.

+--------------------------------------------------------------------------+
|      #pragma aux sym modify reg_set [;]                                  |
|                                                                          |
+--------------------------------------------------------------------------+

where
    description

sym
    is a function name.

reg_set
    is a register set containing the string "8087", i.e.  [8087].

This instructs Watcom C/C++ to save any local variables that are located in
the 80x87 cache before calling the specified routine.

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