title: Inline asm: operand type mismatch for `in'
body: <p>I got the error</p>
  <blockquote>
  <p>Error: operand type mismatch for `in'</p>
  </blockquote>
  <p>The line generating this is:</p>
  <pre><code>inb %%eax, %%edx 
  </code></pre>
  <p>I tried these: <code>inb %%eax, $0x00000064</code> and <code>inb %%eax, $0x64</code>.</p>
  <p>But neither of them did change the output. I also tried with <code>in</code> instead of <code>inb</code>, but I'm taking shots in the dark at this point.</p>
  <p>Any ideas?</p>