diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2022-12-14 18:26:49 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2022-12-14 18:26:49 +0100 |
| commit | d179f1846f9372920ef02f08cfb4d3abe99b383f (patch) | |
| tree | 4b6ddc71566be95a1ce520ef9d957f4cac1af6c9 /lib/sys/start.S | |
first commit
Diffstat (limited to 'lib/sys/start.S')
| -rw-r--r-- | lib/sys/start.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sys/start.S b/lib/sys/start.S new file mode 100644 index 0000000..deafd67 --- /dev/null +++ b/lib/sys/start.S @@ -0,0 +1,6 @@ +.global _start +_start: + call main + mov %rax, %rdi + mov $60, %rax + syscall |