Intel Assem과는 좀 다른 부분 중에 이해가 잘 안가는 부분이 있어 관련 문서
를 봐도 영어가 딸려서 그런지 잘 이해가 안가네요.. 쩝..쩝..
[code:1] int main (void)
{
int operand1, operand2, sum, accumulator;
operand1 = rand (); operand2 = rand ();
__asm__ ("movl %1, %0\n\t"
"addl %2, %0"
: "=r" (sum) /* output operands */
: "r" (operand1), "r" (operand2) /* input operands */