Category : Assembly Language Source Code
Archive   : RHSTDLIB.ZIP
Filename : MEMBER.ASM
assume cs:stdlib
;
;
; Member- Checks to see if a character is in a set.
;
; inputs:
;
; ES:DI- Points at the set (at its mask byte).
; AL- Character to check.
;
; outputs:
; zero flag is set if the character is not in the set.
; zero flag is clear if the character is in the set.
;
;
public sl_member
;
sl_member proc far
push ax
push bx
;
mov bl, al
mov bh, 0
mov al, es:[di] ;Get mask byte
test al, es:8[di][bx] ;See if char is in set.
;
pop bx
pop ax
ret
sl_member endp
;
;
stdlib ends
end
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
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/