title: extended inline assembly: same variable for input and output
body: <p>I decided to start learning some inline assembly however I am left with a simple question for which I am unable to find a clear answer.</p>
  
  <p>Take the following simple example which I found in a tutorial which performs a simple addition as such:</p>
  
  <pre><code>int one,two,out;
  
  one = 1;
  two = 2;
  
  __asm__ ( "add eax, ebx;" : "=a" (out) : "a" (one) , "b" (two) );
  </code></pre>
  
  <p>Note that for the sake of my own sanity after working with intel syntax for a while, I configured GCC to use intel syntax instead of AT&amp;T. </p>
  
  <p>Now suppose I would want to leave out the "out" variable and just store the output in "one" instead (or "two" for all that matters).</p>
  
  <p>How would I do this?</p>