并给出了利用VC +调用汇编编译器编译汇编源文件的方法。
VC + + is used to call the assembly compiler to compile the assembler.
毫不奇怪,没有哪种编译器可以接近上一篇文章中手工编写的汇编语言版本,不过对于这个程序来说,XLC的效果比GCC更好。
Unsurprisingly, neither compiler does nearly as well as the hand-coded assembly language version from the previous article, but for this program XLC outperformed GCC.
IBMXLC编译器是一个非常好的优化器,结果是 C算法的性能要比未经优化的汇编语言实现的性能好很多。
The IBM XL C compiler is a very good optimizer, and as a result, the C algorithm delivers superior results to a simple unoptimized assembly language implementation.
这个命令生成了一个新的文件hw.s,其中包含您通常无法看到的汇编输入文本,因为编译器在缺省情况下将生成a.out 文件。
This command has generated a new file -- hw.s -- that contains the assembler input text that you typically would not have seen, because the compiler defaults to producing the a.out file.
对于那些着迷于底层编程细节的程序员来说,这是一个功能非常强大的工具,可用于研究编译器和汇编器的输出。
For a programmer who is fascinated by the low-level details of programming, this is a powerful tool for studying the output of compilers and assemblers.
编译器或汇编器的输出。
编译器和汇编程序自动地将表示一直向下翻译为有效的机器代码。
Compilers and assemblers automatically translate representations all the way down to efficient machine code.
编译器在自己生成的汇编语言中提供了适当的操作数。
The compiler supplies the appropriate operand in the assembly language code it generates.
这台新机器需要软件,包括一个编译器和汇编器,否则它什么也做不了。
The novel machine needed feeding with software, including a compiler and assembler, if it was to do anything useful.
相反,翻译过程由例如汇编程序、编译器,和连接器的工具完全的自动化了。
Instead, the translation process is fully automated by tools such as assemblers, compilers, and linkers.
你的工具链:你必须知道你的编译器,汇编器,链接器,还有make,运行的细节。
Your Toolchain: You must know the behavioral details of your compiler, assembler, linker, and make utility.
很显然,首先您需要的是一个编译器以及相关工具链(汇编程序、链接器等等)。
The first thing you will need, rather obviously, is a compiler and associated tool chain (assembler, linker, etc.) There are two main options to consider here.
在第6章的有趣内容之后,第7章描述了IMCC(中间码编译器,Intermediate Code Compiler)如何可以简化Parrot汇编编程中的大部分工作。
After all the fun of Chapter 6, Chapter 7 describes how IMCC, the Intermediate Code Compiler, can simplify much of the work involved in programming in Parrot assembly.
结论与上面的相同:在付费35美元就可以使用Reflector的情况下,我们不值得为编写反编译器或者反汇编器浪费时间。
Same conclusion: it isn’t worth my time to write a decompiler/disassembler when Reflector is available for $35.
包含目标代码的文件。编译器或汇编器的输出。
A file containing object code. The output of a compiler or assembler.
处理器能读的操作码和数据。编译器、汇编器、连接器和定位器的输出文件都含有目标代码。
A set of processor-readable opcodes and data. The output of compilers, assemblers, linkers, and locators are files containing object code.
每个汇编器或者编译器都会读取一个完成了的源程序并生成一个完整的目标模块。
An assembler or a compiler reads a complete source program and generates a complete object module.
同样的,只要能保证程序逻辑上的正确性,编译器也可以自由的安排汇编指令的顺序,当然,这也是为了获得更好的性能。
Similarly, the compiler may also arrange the instructions it emits in any order it likes, provided it doesn't affect the apparent operation of the program.
一个汇编语言与二进制代码的转换表,可以用编译器的设计。
A compilation of language and the binary code conversion table, you can use the compiler design.
这个编译器也允许在一个函数的任何地方嵌入内联的汇编代码。另外,以汇编代码开发的例程也可以被调用。
The compiler also allows inline assembler code to be embedded anywhere in a function. In addition, routines developed in assembly can also be called.
汇编器生编译器,最后产生上万种高级语言。
The assembler gave birth to the compiler. Now there are ten thousand languages.
“反汇编”窗口显示与编译器所创建的指令对应的汇编代码。
TheDisassembly window shows assembly code corresponding to the instructions created by the compiler.
这是一个前端程序安排任何必要的编译器,汇编器和链接器组件执行。
It's a front end program that orchestrates the execution of any necessary compiler, assembler, and linker components.
编译器必须告诉汇编程序什么时候切换段。这些宏控制应该输出什么命令来告诉汇编程序这些信息。你也可以定义额外的段。
The compiler must tell the assembler when to switch sections. These macros control what commands to output to tell the assembler this. You can also define additional sections.
若阅读由几乎所有编译器生成的汇编代码,就会发现程序控制里包含了许多跳转。
If you read the assembly code that is ultimately generated by virtually any compiler, you'll see that program control contains many jumps.
汇编语言是有用,因为它为不同的高级语言不同的编译器提供了通用的输出语言。
Assembly language is useful because it provides a common output language for different compilers for different high-level languages.
汇编器生编译器,最后发生上万种高级语言。
The assembler gave birth to the compiler. Now there are ten thousand languages.
资源编译器(RC)汇编成一个资源文件,和连接。然后将它添加到EXE。
The resource compiler (rc) compiles it into a. Res file, and the linker then adds it to the EXE.
资源编译器(RC)汇编成一个资源文件,和连接。然后将它添加到EXE。
The resource compiler (rc) compiles it into a. Res file, and the linker then adds it to the EXE.
应用推荐