home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / crt / src / defsects.inc < prev    next >
Text File  |  1998-06-17  |  1KB  |  51 lines

  1. ;***
  2. ;defsects.inc - defines sections.
  3. ;
  4. ;   Copyright (c) 1989-1997, Microsoft Corporation.  All rights reserved.
  5. ;
  6. ;Purpose:
  7. ;   This file defines sections for the C and C++ libs.
  8. ;
  9. ;   NOTE:  As needed, special "CRT" sections can be added into the existing
  10. ;   init/term tables.  These will be for our use only -- users who put
  11. ;   stuff in here do so at their own risk.
  12. ;
  13. ;******************************************************************************
  14.  
  15. ;*******
  16. ;*
  17. ;* beginSection - a macro for declaring and beginning a section
  18. ;*
  19. ;* endSection - a macro for ending a previously declared section
  20. ;*
  21. ;*******
  22.  
  23. beginSection    MACRO   SectName
  24. .CRT$&SectName  SEGMENT DWORD PUBLIC 'DATA'
  25.                 ENDM
  26.  
  27. endSection      MACRO   SectName
  28. .CRT$&SectName  ENDS
  29.                 ENDM
  30.  
  31. ;  XIA  Begin C Initializer Sections
  32. ;  XIC   Microsoft Reserved
  33. ;  XIU   User
  34. ;  XIZ  End C Initializer Sections
  35. ;
  36. ;  XCA  Begin C++ Constructor Sections
  37. ;  XCC   Compiler (MS)
  38. ;  XCL   Library
  39. ;  XCU   User
  40. ;  XCZ  End C++ Constructor Sections
  41. ;
  42. ;  XPA  Begin C Pre-Terminator Sections
  43. ;  XPU   User
  44. ;  XPX   Microsoft Reserved
  45. ;  XPZ  End C Pre-Terminator Sections
  46. ;
  47. ;  XTA  Begin C Pre-Terminator Sections
  48. ;  XTU   User
  49. ;  XTX   Microsoft Reserved
  50. ;  XTZ  End C Pre-Terminator Sections
  51.