Files
GroundPY/out.asm

35 lines
485 B
NASM
Raw Normal View History

2025-09-06 21:18:22 +10:00
; ~~~ Auto generated by the GroundPY compiler for Linux x86_64 targets. ~~~
2025-09-04 07:45:20 +10:00
section .data
.LC0: db "yes", 10, 0
.LC1: equ $ - .LC0
.LC2: db "no", 10, 0
.LC3: equ $ - .LC2
2025-09-04 07:45:20 +10:00
section .text
2025-09-02 06:42:58 +10:00
global _start
_start:
mov rax, 123
push rax
mov rax, 100000000
mov rbx, [rsp + 0]
cmp rax, rbx
jg .yes
.yes:
mov rsi, .LC0
mov rdx, .LC1
mov rax, 1
mov rdi, 1
syscall
mov rax, 60
mov rdi, 0
syscall
.no:
mov rsi, .LC2
mov rdx, .LC3
mov rax, 1
mov rdi, 1
syscall
mov rax, 60
mov rdi, 0
syscall