如果在CAccount类的定义前加上pack(1)编译指令(compiler directive),并在m_dblBalance成员前加上一个一字节的字符变量,那么m_dblBalance的地址变成了0x12fecd,不再64位对齐了。
基于236个网页-相关网页
·2,447,543篇论文数据,部分数据来源于NoteExpress
这个编译指令抑制入口代码的产生,有益于内嵌汇编函数。
This pragma suppresses the generation of entry code and is useful for inline assembler functions.
提供的示例已经经过生成,但编译它们的指令包含在示例包的顶级目录的 README.html 文件中。
The examples are supplied already built, although instructions on compiling them are provided in the README.html file in the sample package's top-level directory.
编译器极有可能把上述赋值语句编译成一条机器指令。
The compiler will after all very likely compile the above assignment into a single machine instruction.
It's a little more involved on a PC but it's all free, the software you can download, and Linux in similar operating systems generally come with a compiler or you run a simple command to get it.
在PC机上有点复杂,但是它是免费的,你一般下载的软件,类似Linux的操作系统等等通常都需要,一个编译器,或者你可以运行一些简单的指令来获取。
应用推荐