title: passing arguments between c and inline assembly
body: <p>I have a question about passing arguments between c and inline assembly</p>
  
  <p>I'm having trouble passing an array into my inline assembly. I keep getting the error 'error: memory input 1 is not directly addressable'</p>
  
  <p>Here is an example of my code:</p>
  
  <pre><code>void main()
  {
      char name[] = "thisisatest";
          __asm__ ("\
          .intel_syntax noprefix     \n\
          mov eax, %[name]           \n\
          inc (eax)                  \n\
         "
      :/*no output*/
      :[name]"m"(name)
      );
  }
  </code></pre>
  
  <p>This should increment the first letter of my string (making it 'u'), but it doesn't build.</p>
  
  <p>Ideas?</p>