Well im writing a document for school and i was just courious if all those Extrasegments (ES, FS, GS) are used to help out the Datasegment if it is too small for all those vars, tables and so on...

Or do they have other functions as well??

*PredeX*
Posted on 2001-10-30 18:15:15 by PredeX
FS and GS are reserved for operating system use in Win32 programming. ES has the same vales as DS, and is implied in some string operations. In the old days of DOS 16-bit programming, yes, you could use them to address "extra" data areas. :)
Posted on 2001-10-30 19:47:25 by S/390
Don't forget in your report that in real mode they are segment registers, and in protect they are selectors.
Posted on 2001-10-30 21:11:59 by eet_1024
I dunno what GS is used for under win32, but FS is a pointer to the
current SEH stuff. Updated per-thread.
Posted on 2001-10-31 04:59:38 by f0dder