title: How to multiply two float variables in masm
body: <p>How to multiply two float variables in masm, assembly user enters an input as 3.02 and multiply it with 0.008 and then print it</p>
  
  <pre><code>.data 
  fin dd 5.0
  
  .code
  main proc
  
  fld fin
  fmul fin  ;to multiply fin with fin 
  fstp dword [eax]   ;cannot mov result in eax
  call writefloat
  
  exit 
  main EndP
  end main
  </code></pre>