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


.area text 
; 
; char *cstrcat(char *dst, const char *src) 
; 
_cstrcat:: 
	mov	R26,R16 
	mov	R27,R17 
	mov	R30,R18 
	mov	R31,R19 
cstrcat1: 
	ld	R0,X+ 
	tst	R0 
	brne	cstrcat1 
	sbiw	R26,1 
cstrcat2: 
	lpm 
	adiw	R30,1 
	st	X+,R0 
	tst	R0 
	brne	cstrcat2 
	ret 
; 
;<eof; 2003-07-31 ja>