Let's take a look at the specific usage of inline assembly in Linux.
让我们看一下Linux中内联汇编的特定用法。
GCC provides the special construct "asm" for inline assembly, which has the following format.
GCC为内联汇编提供特殊结构,它具有以下格式。
The list is by no means complete; I've included only those rules pertinent to inline assembly.
该列表肯定不完整;只包括了与内联汇编相关的那些规则。
On the whole, inline assembly is huge and provides a lot of features that we did not even touch on here.
总的来说,内联汇编非常巨大,它提供的许多特性我们甚至在这里根本没有涉及到。
One of the few things which is definitely going to require porting when switching platforms is inline assembly.
在切换到新平台上时明确需要移植的事情之一是内联汇编。
A word reserved for inline assembly is used as a variable name.
为内联程序集保留的字用作变量名。
To fix this warning, avoid naming variables with words reserved for inline assembly.
若要解决此警告,请避免使用为内联程序集保留的字命名变量。
In modern systems, the chances that inline assembly is a good use of programmer time for optimization are virtually nil.
在现代系统上,程序员使用内联汇编进行优化的机会已经很少了。
For instance, a program designed to exploit a buffer overflow is very likely to use some inline assembly for the target platform.
举例来说,设计利用缓存溢出的程序很可能会对目标平台使用内联汇编。
Inline assembly code can contain arbitrary native code, which cannot be managed.
内联程序集代码可以包含无法托管的任意本机代码。
Inline assembly code in functions that pass copy-constructed function parameters is not supported.
传递复制构造函数参数的函数中的内联程序集代码不受支持。
Inline assembly code in functions that pass copy-constructed function parameters is not supported.
传递复制构造函数参数的函数中的内联程序集代码不受支持。
应用推荐