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

 
Output of file : PRINT.ASM contained in archive : RHSTDLIB.ZIP
stdlib segment para public 'slcode'
assume cs:stdlib
extrn sl_putc:far
;
;
public sl_print
sl_print proc far
push bp
mov bp, sp
push ax es bx
;
les bx, 2[bp] ;Get return address
jmp short TestZero
;
PrintLoop: call sl_Putc
inc bx
TestZero: mov al, es:[bx]
cmp al, 0
jnz PrintLoop
;
inc bx
mov 2[bp], bx
pop bx es ax bp
ret
sl_print endp
stdlib ends
end


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