# fptest0.asm
# Renzo Diomedi

section .data
EXIT_SUCCESS equ 60
SYS_exit equ 0
fpvar0 dq 240.0
fpvar1 dq 14.598

section .text
global _start
_start:
sqrtsd xmm0, qword[fpvar0]
divsd xmm0, qword[fpvar1]
cvtsd2si eax, xmm0         

mov rax, SYS_exit
mov rdi, EXIT_SUCCESS
syscall

