The uses of inline assembly include:
Writing functions in assembly language.
Spot-optimizing speed-critical sections of code.
Making direct hardware access for device drivers.
Writing prolog and epilog code for "naked" calls.
第四点是什么意思
------解决方案--------------------------------------------------------
是指不带栈桢的函数。
一般函数头部都会有 push esp
mov ebp, esp
sub esp, XXXX
如果是naked就不带这些汇编指令。