Files
GroundPY/out.asm
2025-09-07 14:08:45 +10:00

27 lines
431 B
NASM

; ~~~ Auto generated by the GroundPY compiler for Linux x86_64 targets. ~~~
section .data
section .text
global _start
_start:
mov rax, 0
push rax
push 1
.loop:
mov rax, 1
mov rbx, [rsp + 8]
add rax, rbx
mov QWORD [rsp + 8], rax
mov rax, 100000000
mov rbx, [rsp + 8]
cmp rax, rbx
setne al
movzx rax, al
mov QWORD [rsp + 0], rax
mov eax, [rsp + 0]
test eax, eax
jnz .loop
mov rax, 60
mov rdi, [rsp + 8]
syscall