shithub: riscv

ref: c45766fb054e3c82fe7be6cd5da2e6ff58e534e3
dir: /sys/src/ape/lib/ap/68020/strcpy.s/

View raw version
	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