Artifact 22c891476d561b3299b46131357210f13d2f7de10a66e078dfcad92b70996d53:
- File kcore/boot.rt.x86.lin.64.s — part of check-in [e794c5edef] at 2019-06-29 09:31:50 on branch trunk — add a bunch of code, port the header mechanism to gpp; add a fuckton of definitions and compatibility header code; notably, add core function kstop and x86.lin.{32,64} impl. update docs accordingly (user: lexi, size: 258) [annotate] [blame] [check-ins using]
; vim: ft=nasm bits 64 %include "../arch/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