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 - this chapter will deal with the following topics. http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
This chapter will deal with the following topics.

 1. The data representation of the basic types supported by Watcom C/C++.

 2. The memory layout of a Watcom C/C++ program.

 3. The method for passing arguments and returning values.

 4. The two methods for passing floating-point arguments and returning
    floating-point values.

    One method is used when one of the Watcom C/C++ "fpi" or "fpi87" options
    is specified for the generation of in-line 80x87 instructions.  When the
    "fpi" option is specified, an 80x87 emulator is included from a math
    library if the application includes floating-point operations.  When the
    "fpi87" option is used exclusively, the 80x87 emulator will not be
    included.

    The other method is used when the Watcom C/C++ "fpc" option is
    specified.  In this case, the compiler generates calls to floating-point
    support routines in the alternate math libraries.

An understanding of the Intel 80x86 architecture is assumed.

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