title: Meaning of (%eax) in AT&T syntax?
body: <p>You'll have to excuse me, I'm brand new to x86 assembly, and assembly in general.</p>
  
  <p>So my question is, I have something like:</p>
  
  <pre><code>addl %edx,(%eax)
  </code></pre>
  
  <p>%eax is a register which holds a pointer to some integer. Let's call it xp</p>
  
  <p>Does this mean that it's saying: <code>*xp = *xp + %edx</code>? (<code>%edx</code> is an integer)</p>
  
  <p>I'm just confused where addl will store the result. If <code>%eax</code> is a pointer to an int, then <code>(%eax)</code> should be the actual value of that int. So would <code>addl</code> store the result of <code>%edx+(%eax)</code> in <code>*xp</code>? I would really love for someone to explain this to me!</p>
  
  <p>I really appreciate any help!</p>