summaryrefslogtreecommitdiff
path: root/sys/src/libc/68020/strcpy.s
blob: ce5c30bdb92d8bb7c98ff23d59a6daf307539221 (plain)
1
2
3
4
5
6
7
8
9
10
	TEXT	strcpy(SB), $0

	MOVL	s1+0(FP), A2
	MOVL	s2+4(FP), A1

l1:	MOVB	(A1)+, (A2)+
	BNE	l1

	MOVL	s1+0(FP), R0
	RTS