c - What is the difference between '__asm' and '__asm__'? -
i learning inline assembly in c. far can tell, difference between __asm { ... };
, __asm__("...");
first uses mov eax, var
, second uses movl %0, %%eax
:"=r" (var)
@ end. also, there lot less websites first. other differences there?
which 1 use depends on compiler. isn't standard c language.
Comments
Post a Comment