www.pudn.com > iccavr_lib.rar > cstrcpy.s, change:2003-11-08,size:205b


; 
; char *cstrcpy(char *dst, const char *src) 
 
	.text 
_cstrcpy:: 
	mov R26,R16 
	mov R27,R17 
	mov R30,R18 
	mov R31,R19 
 
loop: 
	lpm 
	adiw R30,1 
	st X+,R0 
	tst R0 
	brne loop 
	 
done: 
	ret