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 - a mixed memory model application combines elements from the various code and http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
A mixed memory model application combines elements from the various code and
data models.  A mixed memory model application might be characterized as one
that uses the near,  far, or huge keywords when describing some of its
functions or data objects.

For example, a medium memory model application that uses some far pointers
to data can be described as a mixed memory model.  In an application such as
this, most of the data is in a 4GB segment (DGROUP) and hence can be
referenced with near pointers relative to the segment value in segment
register DS.  This results in more efficient code being generated and better
execution times than one can expect from a big data model.  Data objects
outside of the DGROUP segment are described with the far keyword.

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