blob: db9b6559f54eb735e2f72d9d7e8e09279f1cf515 [file] [log] [blame]
global _start
extern LibNasm1Func
section .text
_start:
xor rax, rax
call LibNasm1Func
cmp rax, 1
jne err
mov rax, 60
xor rdi, rdi
syscall
err:
mov rax, 60
mov rdi, 1
syscall