home *** CD-ROM | disk | FTP | other *** search
/ Power Programming / powerprogramming1994.iso / progtool / modem / byepc300.arc / BYEXLIB.ARC / SETCSW.ASM < prev    next >
Assembly Source File  |  1987-10-26  |  719b  |  32 lines

  1.            INCLUDE MODEL.INC
  2. ;
  3. ;---------------------------------------------------------------------------
  4. ;   Function:    int _bye_setcsw(s)
  5. ;
  6. ;   Parms:    int s;     caller status level (0-ffffh)
  7. ;
  8. ;   Purpose:    Set the status level in BYE-PC for the caller
  9. ;        currently on line.
  10. ;
  11. ;   Return:    void
  12. ;---------------------------------------------------------------------------
  13. ;
  14.            PUBLIC __bye_setcsw
  15.  
  16. __bye_setcsw   PROC
  17.  
  18.            push bp            ;standard 'C' function entry
  19.            mov  bp,sp
  20.  
  21.            mov  cx,ARG1        ;CX=16 bit CSW
  22.            mov  ah,16        ;AH=16 for set csw
  23.            int  BYE_VECT
  24.  
  25.            mov  sp,bp        ;standard 'C' exit
  26.            pop  bp
  27.            ret
  28.  
  29. __bye_setcsw   ENDP
  30.            END
  31.  
  32.