title: How to far jump to $0x9000:%ax using AT&T syntax?
body: <p>I'm writing a toy os to learn the workings of it, here I came into a little problem. I want to do a long jump, just as follows:</p>
  
  <pre><code>ljmp $0x9000, *(%ax)
  </code></pre>
  
  <p>The section address is 0x9000, the offset address is stored in the register <code>ax</code> (currently I'm still under real mode), I've tried the following, none of them worked.</p>
  
  <pre><code>ljmp $0x9000, ax
  ljmp $0x9000, %ax
  ljmp $0x9000, (%ax)
  ljmp $0x9000, *(%ax)
  </code></pre>
  
  <p>So how to do the trick? I'm using GNU AS (i686-elf-as).</p>