title: Floating Point Exception - Division between integers
body: <pre><code>mov rax, 6
  mov rbx, 2
  div rbx       ; rax = 6/2 = 3 - FLOATING POINT EXCEPTION
  </code></pre>
  
  <p>Error: <strong>Floating Point Exception</strong>. </p>
  
  <p>As I suppose, I think it's because instead of going to the <strong>ALU</strong> (Arithmetical Logical Unit) it goes to the <strong>FPU</strong> (Floating Point Unit) which means it returns a float instead of an integer. Am I right?</p>
  
  <p>Which would mean, that the <strong>FPU</strong> wouldn't handle the two Integers I provided so it produces a <strong>Floating Point Exception</strong>.</p>
  
  <p>But how do I divide two integers then? Or if my guess is wrong, what's my mistake?</p>