Upload files to "/"
This commit is contained in:
parent
e2d498ecc4
commit
50c928f6f6
3 changed files with 76 additions and 0 deletions
16
syscalls.asm
Normal file
16
syscalls.asm
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
global _start
|
||||
global sys_write
|
||||
extern main
|
||||
|
||||
section .text
|
||||
|
||||
sys_write:
|
||||
mov rax, 1
|
||||
syscall
|
||||
ret
|
||||
|
||||
_start:
|
||||
call main
|
||||
mov rdi, rax
|
||||
mov rax, 60
|
||||
syscall
|
||||
Loading…
Add table
Add a link
Reference in a new issue