scc

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

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

 1	.globl	_environ
 2	.comm	_environ,8,8
 3
 4	.text
 5	.globl	_start
 6_start:
 7	movq	%rsp,%rbp
 8
 9	/* load argc, argv, envp from stack */
10	movq	(%rbp),%rdi             /* argc */
11	leaq	8(%rbp),%rsi            /* argv */
12	leaq	16(%rbp,%rdi,8),%rdx    /* envp = argv + 8*argc + 8 */
13	movq	%rdx,_environ(%rip)
14
15	call	main
16	movl	%eax,%edi
17	jmp	exit