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


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