Category : Assembly Language Source Code
Archive   : RHSTDLIB.ZIP
Filename : ADDCHAR.ASM

 
Output of file : ADDCHAR.ASM contained in archive : RHSTDLIB.ZIP
stdlib segment para public 'slcode'
assume cs:stdlib
;
;
; AddChar- Unions a character into a set.
;
; inputs:
;
; ES:DI- Points at the set (at its mask byte).
; AL- Character to union into the set.
;
;
;
public sl_AddChar
;
sl_AddChar proc far
push ax
push bx
;
mov bl, al
mov bh, 0
mov al, es:[di] ;Get mask byte
or es:8[di][bx], al ;Add to set
;
pop bx
pop ax
ret
sl_AddChar endp
;
;
stdlib ends
end


  3 Responses to “Category : Assembly Language Source Code
Archive   : RHSTDLIB.ZIP
Filename : ADDCHAR.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/