use64
format ELF64 executable

include "/linhead64.inc"

includes "libc.so.6", printf ;MUST BE BEFORE ANY SEGMENTS

segment readable writable executable
entry $

	pop rbx

	;Print
@@:	pop rsi
	invoke printf, msg, null
	dec rbx
	jnz @b

	;Exit
	syscalls sys_exit

msg db "%s", 10, 0
