libk  Artifact [c4c48f7422]

Artifact c4c48f74226b9429c4f5a0dff2cff52c7c5e2c5ce527800a3c66844916be1af9:


; vim: ft=nasm
bits 64
%include "../arch/posix/x86.lin.64.s"
global _start:function
extern _boot
extern entry

_start:
	mov rbp, rsp
	mov rdi, [rbp + 0] ; argc
	lea rsi, [rbp + 8] ; argv

	call _boot

	mov sys.reg.1, sys.reg.ret
	mov sys.reg.0, sys.exit
	sys.call