title: movl AT&T syntax with attributes
body: <p>Here is a snippet of <code>assembly code</code> in <code>AT&amp;T Syntax</code>.</p>
  
  <pre><code>int foo_array[64*1024]  __attribute__ ((aligned (8192)));
  
  void
  foo()
  {
      __asm__("movl %0,%%eax"::"r"(&amp;foo_array));
  </code></pre>
  
  <p>I understood that <code>movl</code> copies the data from source operand to destination operand. that is, in my case, it is moving <code>0 to eax</code>.. This is what I have understood from this <a href="http://www.scs.stanford.edu/nyu/04fa/notes/l2.pdf" rel="nofollow">link</a> - <code>slide 2</code></p>
  
  <p>However, I dont understand the rest of it. Can someone please explain it so me.</p>