What is the difference between 'asm', '__asm' and '__asm__'?

Viewed 31615

As far as I can tell, the only difference between __asm { ... }; and __asm__("..."); is that the first uses mov eax, var and the second uses movl %0, %%eax with :"=r" (var) at the end. What other differences are there? And what about just asm?

4 Answers
Related