home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / progjour / 1991 / 06 / alib / isspace.asm < prev    next >
Assembly Source File  |  1991-08-22  |  327b  |  28 lines

  1.     include    asm.inc
  2.  
  3.     public    isspace
  4.  
  5.     .code
  6.  
  7. ;;    isspace
  8. ;
  9. ;    entry    AL    character
  10. ;    exit    Zf    if space, FF, NL, CR, HT, or VT
  11. ;
  12. isspace proc
  13.     cmp    al,' '
  14.     je    isp1
  15.     cmp    al,FF_CHAR
  16.     je    isp1
  17.     cmp    al,NL_CHAR
  18.     je    isp1
  19.     cmp    al,CR_CHAR
  20.     je    isp1
  21.     cmp    al,HT_CHAR
  22.     je    isp1
  23.     cmp    al,VT_CHAR
  24. isp1:    ret
  25. isspace endp
  26.  
  27.     end
  28.