scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1	.file 	"strcpy.s"
 2
 3	.text
 4	.globl	strcpy,_strcpy
 5
 6strcpy:
 7_strcpy:
 8	movq	%rdi,%r9
 9
10	movb	$0,%al
11	movq	$-1,%rcx
12	cld
13	movq	%rsi,%rdi
14	repne
15	scasb
16	movq	%rdi,%rcx
17	subq	%rsi,%rcx
18
19	movq	%r9,%rdi
20	mov	%rdi,%rax
21	rep;	movsb
22	ret