home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Large Pack of OldSkool DOS MOD Trackers
/
cdfm.zip
/
STRCPY.RT
< prev
next >
Wrap
Text File
|
1992-06-10
|
499b
|
24 lines
public _strcpy
;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
; Copy ASCIIZ string to another
; In:
; ESI -> source string
; EDI -> destination string
; Out:
; None
;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
_strcpy:
push ax
push esi
push edi
strcpyl:
lodsb
stosb
or al,al
jnz strcpyl
pop edi
pop esi
pop ax
ret