home *** CD-ROM | disk | FTP | other *** search
/ Groovy Bytes: Behind the Moon / groovybytes.iso / GROOVY / SND_TOOL / FUNK108A.ZIP / DOS32V30.ZIP / PAL / STRINGS / TOLOWWER.ASM < prev    next >
Encoding:
Assembly Source File  |  1995-05-20  |  855 b   |  32 lines

  1. ;******************************************************************************
  2. ; Filename: TLOWER.ASM
  3. ;   Author: Peter Andersson
  4. ;  Version: 0.0
  5. ;  Created: 1995.03.12
  6. ;  Updated: 
  7. ;******************************************************************************
  8. ; Copyright Peter Andersson, 1994-1995.
  9. ; All rights reserved.
  10. ;******************************************************************************
  11. ; Function: int @tolower(char chr)
  12. ;  Comment: Converts a character to ulowercase.
  13. ;    Input: Al - character
  14. ;  Returns: unsigned character value
  15. ;******************************************************************************
  16.  
  17.     Include    STDDEF.INC
  18.  
  19. Extrn  LowerCaseTable :Byte
  20.  
  21.     Codeseg
  22.  
  23. Proc    tolower ,1
  24.                 Movzx   Eax,Al
  25.                 Movzx   Eax,[LowerCaseTable+Eax]
  26.                 Ret
  27. Endp
  28.  
  29.  
  30.  
  31.     End
  32.