title: What is the meaning of testb instruction?
body: <p>Can any one tell me the meaning of the following:</p>
  
  <pre><code>gdb&gt; disas 0x080ed5af 
  
  0x080ed5ac &lt;func1+205&gt;:        mov    0x8(%eax),%eax
  
  0x080ed5af &lt;func1+208&gt;:        testb  $0x10,0x8(%eax)
  
  0x080ed5b3 &lt;func1+212&gt;:        jne    0x80ed604 &lt;dapriv_disk_op+293&gt;
  
  0x080ed5b5 &lt;func1+214&gt;:        mov    %edi,(%esp)
  </code></pre>
  
  <p>What is the meaning of <code>testb  $0x10,0x8(%eax)</code>?</p>