diff --git a/bmi-calc/main.nasm b/bmi-calc/main.nasm index cec1288..4719910 100644 --- a/bmi-calc/main.nasm +++ b/bmi-calc/main.nasm @@ -313,12 +313,14 @@ read_float_convert: mov rax,0 movq xmm0,rax + movss xmm7,[_10f] + xor rcx,rcx read_float_convert_whole_loop: cmp rcx,r14 je read_float_convert_dec_prepare - mulss xmm0,[_10f] + mulss xmm0,xmm7 xor eax,eax mov al,[rsp+rcx]