Files
GroundPY/out.asm
2025-09-10 07:54:11 +10:00

22 lines
342 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 rax
mov rax, 60
mov rdi, [rsp + 0]
syscall
test:
mov rsi, .LC0
mov rdx, .LC1
mov rax, 1
mov rdi, 1
syscall
mov rax, 123
ret