;STARTASM(),INT3(),LEAVEASM()
;void NP STARTASM(void),void NP INT3(void),void NP LEAVEASM(void)

EXTRN  _StrProc:near
PUBLIC _STRENTRY
PUBLIC INT3

_DATA segment  word public 'DATA'
_DATA ends

CONST segment  word  public   'CONST'
CONST ends

_BSS  segment  word  public   'BSS'
_BSS  ends

DGROUP   group CONST,_BSS,_DATA

_TEXT    segment word   public   'CODE'
assume CS:_TEXT,ds:DGROUP,es:NOTHING,ss:NOTHING
.286p

_STRENTRY proc  far
   int   3
   ;mov word ptr rp[0], bx
   ;mov word ptr rp[2], es
   push es
   push bx
   call _StrProc
   int   3
   pop   bx
   pop   es
;   add   sp,2
   mov   word ptr es:[bx+3],ax
   ret
_STRENTRY endp

INT3  proc  near
   int   3
   ret
INT3  endp

_TEXT ends
      end
