Files
GroundPY/out.asm
2025-09-10 07:30:58 +10:00

26 lines
410 B
NASM

; ~~~ Auto generated by the GroundPY compiler for Linux x86_64 targets. ~~~
section .data
.LC0: db "this was called by a function!!!!", 10, 0
.LC1: equ $ - .LC0
section .text
global _start
_start:
call test
push 2
push 3
mov rax, [rsp + 8]
mov rbx, [rsp + 0]
add rax, rbx
mov QWORD [rsp + 8], rax
mov rax, 60
mov rdi, [rsp + 8]
syscall
test:
mov rsi, .LC0
mov rdx, .LC1
mov rax, 1
mov rdi, 1
syscall
ret