shithub: riscv

ref: 855cf4326f5a07d7142c2d8918f5fa856d912b85
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