title: operand type mismatch for 'jg' conditional branch with memory-indirect destination
body: <p>I'm doing x86 Assembly, 64bits</p>
  <p>This is my <code>file.asm</code></p>
  <pre><code>cmp rdi, 4
  jg [rsi + 0x20]
  jmp [rsi + rdi * 8]
  </code></pre>
  <p>and the error is <code>operand type mismatch for 'jg'</code></p>
  <p>I can't understand why the <code>jmp</code> is ok but the <code>jg</code> is not.</p>
  <p>I'm using this code to compile <code>pwn asm -c amd64 -o output &lt; file.asm</code></p>