6 extrn _edata
: byte ; end of DATA (start of BSS)
7 extrn _end
: byte ; end of BSS (start of STACK)
8 extrn __nullarea
: word
10 extrn
"C",_STACKLOW
: dword
11 extrn
"C",_STACKTOP
: dword
16 _DATA
segment dword public 'DATA'
19 _TEXT
segment para
public use32
'CODE'
20 assume cs:_TEXT
, ds:DGROUP
, ss:DGROUP
24 Get_DATASTART
proc near
26 mov eax,offset DGROUP:__nullarea
35 mov eax,offset DGROUP:_end
40 public Get_STACKBOTTOM
42 Get_STACKBOTTOM
proc near