home *** CD-ROM | disk | FTP | other *** search
- include compiler.inc
- ttl TOUPPER, 1.03, 08-03-86 clr
-
- ;char function - if 'a'-'z', returns UC equiv; else returns input
-
- dseg
-
- cseg
-
- procdef toupper, <<chr, byte>>
-
- mov al,chr
- cmp al,'a'
- jb L0066
- cmp al,'z'
- ja L0066
- xor ax,20h
- L0066:
- pret
-
- pend toupper
-
- finish
-
- end
-