home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast2.iso
/
asmutil
/
stdlib.zip
/
PUTS.ASM
< prev
next >
Wrap
Assembly Source File
|
1990-06-20
|
446b
|
25 lines
stdlib segment para public 'slcode'
assume cs:stdlib
extrn sl_putc:far
;
; Puts prints the string that ES:DI points at to the std output.
;
;
public sl_puts
sl_Puts proc far
push di
push ax
jmp short PStart
;
PutsLp: call sl_Putc
PStart: mov al, es:[di]
inc di
cmp al, 0
jnz PutsLp
pop ax
pop di
ret
sl_Puts endp
stdlib ends
end