[comp.sys.ibm.pc.programmer] What Goes In All The Little Classes

rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel) (07/27/90)

_TEXT		program code for small code models
module_TEXT	" for large code models

_DATA		program data (default data segment)
		global/static initialized data 
		in small data models also heap
_BSS		global/static not initialized data
_STACK		program stack

FAR_DATA	far data (declared with far keyword or caused by 
		-Gt switch of MS C), initialized
FAR_BSS		" not initialized

c_common	data declared inside of header files and not defined
		otherwise is defined impicitly here

The segments _DATA, _BSS, _STACK and c_common are usually combined to
the DGROUP.

Hope this is all right.

Kai Uwe Rommel

--
/* Kai Uwe Rommel
 * Munich
 * rommel@lan.informatik.tu-muenchen.dbp.de
 */