home *** CD-ROM | disk | FTP | other *** search
- include compiler.inc
- ttl ISUPPER, 1.03, 08-03-86 clr
-
-
- ;char function - returns 1 if 'A'-'Z', else 0
-
- dseg
-
- cseg
-
- procdef isupper, <<chr, byte>>
-
- mov al,chr
- mov dx,0
- cmp al,'A' ;41h
- jb L003e
- cmp al,'Z' ;5ah
- ja L003e
- inc dx
- L003e: mov ax,dx
- pret
-
- pend isupper
-
- finish
-