Files
photon/photon/libc/sys/magenta/machine/x86_64/crt0.s

20 lines
282 B
ArmAsm
Raw Normal View History

2020-04-30 17:44:54 +01:00
.global _start
.type _start, @function
.extern __fio_init
.type __fio_init, @function
.extern main
.type main, @function
_start:
pop %rbp
pop %rdi
mov %rsp, %rsi
andq $-16, %rsp
call __fio_init
call main
movq %rax, %rdi
movq $60, %rax
syscall