title: Questions about indirect jmp in protected mode
body: <p>Because the address xxxx:yyyyyyyy is 32 bits in protected mode, I put a 48-bits address in a piece of memory and want to  give indirect <code>jmp</code>, here is what I wrote:</p>
  
  <pre><code>mov eax,s1
  mov [address],eax
  mov ax,SelectorCode32
  mov [address+4],ax
  jmp  fword [address]
  
  address:dd 0
          dw 0
  </code></pre>
  
  <p>But the nasm shows that <code>jmp fword [address]</code> is wrong, I've read some suggestions like  <a href="https://stackoverflow.com/questions/4812797/doing-a-indirect-far-jump-call-in-protected-mode">this</a>, but didn't help either, so what should I do?</p>