home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Stars of Shareware: Programmierung
/
SOURCE.mdf
/
programm
/
msdos
/
asm
/
code32
/
strcpy.rt
< prev
next >
Wrap
Text File
|
1993-01-09
|
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