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

  1.            INCLUDE MODEL.INC
  2. ;
  3. ;---------------------------------------------------------------------------
  4. ;   Function:    void _bye_setnulls(x)
  5. ;
  6. ;   Parms:    int x = (0 to 9)
  7. ;
  8. ;   Purpose:    Sets the # nulls sent after each LF char.
  9. ;
  10. ;   Return:    void
  11. ;---------------------------------------------------------------------------
  12. ;
  13.            PUBLIC __bye_setnulls
  14.  
  15. __bye_setnulls PROC
  16.  
  17.            push bp            ;standard 'C' function entry
  18.            mov  bp,sp
  19.  
  20.            mov  ax,ARG1        ;nulls (0-9) in AL
  21.            mov  ah,13        ;AH=13 for set nulls
  22.            int  BYE_VECT
  23.  
  24.            mov  sp,bp        ;standard 'C' exit
  25.            pop  bp
  26.            ret
  27.  
  28. __bye_setnulls ENDP
  29.            END
  30.  
  31.