RETURNING WORKSSSSS

This commit is contained in:
SpookyDervish
2025-09-10 18:56:45 +10:00
parent 3103d17026
commit 523ccecbc0
5 changed files with 103 additions and 19 deletions

View File

@@ -6,16 +6,22 @@ section .data
section .text
global _start
_start:
sub rsp, 8
mov rdi, 115
call test
add rsp, 8
push rax
mov rax, 60
mov rdi, [rsp + 0]
syscall
test:
push rbp
mov rbp, rsp
mov rsi, .LC0
mov rdx, .LC1
mov rax, 1
mov rdi, 1
syscall
mov rax, 123
pop rbp
ret