Category : Files from Magazines
Archive   : TINYLIB.ZIP
Filename : TOUPPER.ASM

 
Output of file : TOUPPER.ASM contained in archive : TINYLIB.ZIP
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, <>

mov al,chr
cmp al,'a'
jb L0066
cmp al,'z'
ja L0066
xor ax,20h
L0066:
pret

pend toupper

finish

end



  3 Responses to “Category : Files from Magazines
Archive   : TINYLIB.ZIP
Filename : TOUPPER.ASM

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/