package x64 import "git.akyoto.dev/cli/q/src/build/cpu" const ( SyscallReturn = 0 // rax ) var SyscallArgs = []cpu.Register{0, 7, 6, 2, 10, 8, 9} // Syscall is the primary way to communicate with the OS kernel. func Syscall(code []byte) []byte { return append(code, 0x0f, 0x05) }