shithub: riscv

ref: 8a45afd47d2545b2d85aecf9ec5af90cba3905d3
dir: /sys/src/libc/68000/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