[BITS 64]
global main
extern printf

main:
	push rbp
	mov rbp,rsp
	mov rax,qword 0
	mov eax,dword 0
	mov eax,dword 1
	db 0x66,0x83,0xC0,0x01 ; add eax,dword 1
	movsx rax,eax
	mov rsi,rax
	mov rdi,message	
	mov al,byte 0
	mov rax,0
	call printf 
	mov eax,0
	leave
	ret

message: db 'eax = %d',10,0
