home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Actual 15
/
CDACTUAL15.iso
/
cdactual
/
program
/
asm
/
PJ96.ZIP
/
ALIB.ZIP
/
STRCPY.ASM
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Assembly Source File
|
1991-08-21
|
285 b
|
25 lines
include asm.inc
public strcpy
.code
;; strcpy
;
; entry DS:SI source ptr
; ES:DI destination ptr
; exit SI updated past NULL
; DI updated, points to NULL
; uses AX
;
strcpy proc
lodsb
stosb
cmp al,NULL_CHAR
jne strcpy
dec di
ret
strcpy endp
end