home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng)
/
ProfitPress-MegaCDROM2.B6I
/
PROG
/
ASSEMBLY
/
STDLIB.ZIP
/
PUTS.ASM
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Assembly Source File
|
1990-06-20
|
446 b
|
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