home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / spxdos.exe / HANDLER.ASM < prev    next >
Assembly Source File  |  1988-11-03  |  600b  |  39 lines

  1. ;******************************************************************************
  2. ;*
  3. ;*    Program Name:  TALK_TO.ME
  4. ;*
  5. ;*    Filename:  HANDLER.ASM
  6. ;*
  7. ;*    Purpose:  Passes the address of an ECB to a event service routine
  8. ;*          written in C.
  9. ;*
  10. ;*****************************************************************************/
  11.  
  12.     extrn        _ListenESR : far
  13.  
  14. .MODEL LARGE
  15. .CODE
  16.     public        _ESRHandler
  17.  
  18. _ESRHandler    Proc    
  19.     push        bp
  20.     push        ax
  21.     mov        bp,sp
  22.     mov        ax,DGroup
  23.     mov        ds,ax
  24.  
  25.     push        es
  26.     push        si
  27.     call        _ListenESR
  28.  
  29.     add        sp,4
  30.     pop        ax
  31.     pop        bp
  32.     ret
  33. _ESRHandler    Endp
  34.  
  35.     END
  36.  
  37.  
  38.  
  39.