_start works kinda

This commit is contained in:
nora 2023-09-29 20:31:19 +02:00
parent 8a033fc3df
commit 52b9c8fb38
2 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,8 @@
core::arch::global_asm!(
".global _start",
"_start:",
"mov rdi, 42",
"mov rax, 60",
"syscall"
);