title: Subtracting Decimal Values (Assembly)
body: <p>How do I subtract a decimal value in <strong>assembly</strong>. IA32 (linux)</p>
  
  <pre><code>1:       mov edx, 1/2   
           sub ecx, ebx
           sub ecx, edx
           mov bal2, ecx
  </code></pre>
  
  <p>I tried this but it some how skips the subtraction with the decimal.
  And if I enter <strong>.5</strong> it gives me an error.</p>
  
  <blockquote>
    <p>error:junk `.5' after expression</p>
  </blockquote>