title: Checking if the result is 0 without CMP? Assembly x86 MASM
body: <p>I have the following code:</p>
  <pre><code>or edx,edx          (0 Or 0 would equal 0)
  jz InvalidDivisor
  </code></pre>
  <p>If i change the code to this:</p>
  <pre><code>AND edx,edx            (0 and 0 would equal 0)
  jz InvalidDivisor
  </code></pre>
  <p>Wouldnt both ways work for checking to see if the product is 0?</p>