现在,我来介绍一下该程序的汇编语言版本,此外,我还会对每一行代码的含义做详细的解释。
Now I'll enter in the assembly language version of this program and then discuss what each line means.
现在,我正在写一个插件,它将比我在1974年时的简单汇编语言程序需要花费更多的时间,而我可以做如此复杂的事情。
Right now, I'm writing a plug-in that I know will take me longer than my simple assembler language routine did in 1974, but I can do things that are so much more complex.
毫不奇怪,没有哪种编译器可以接近上一篇文章中手工编写的汇编语言版本,不过对于这个程序来说,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.
在开始介绍SPU汇编语言之前,先来看一个通过递归算法计算32 位数的阶乘的简单程序。
To begin looking at SPU assembly language, I will enter in a simple program for calculating the factorial of a 32-bit number using a recursive algorithm.
对于新入门的汇编语言程序员来说,不太明显的一个问题是指令的顺序会影响程序执行速度。
What is not usually apparent to new assembly language programmers is that the order of instructions affects the speed of the program.
一旦用汇编语言来编写公用程序,它们就不必重新书写而可被复制到新的程序中去。
Once common functions are written in assembly language they could then be copied into a new program without having to be written again.
它提供对程序进行调试和运行的环境,允许在源代码级和汇编语言级进行调试。
It provides an environment to debug and run programs and allows debugging at both the source-level and assembler language-level.
而在汇编语言中,却需要程序员来显式处理。
In assembly language, this is handled explicitly by the programmer.
新接触汇编语言的程序员有时可能会对我们有多少访问内存的方法感到惊奇。
New assembly language programmers are sometimes surprised by how many different ways you can access memory.
可以将EGL与COBOL在 20世纪 60年代所起的作用做一下比较:使得最初用汇编语言编写的应用程序的代码编写变得容易。
You can compare EGL to what COBOL did in the '60s: make it easy to code applications that were originally written in Assembler language.
也就是说,远离强迫你编写程序的汇编语言,这样很容易进入下面的思维模式
That is what being away from your compiler forces you to do. It’s very easy to slip into the mindset of
由于程序是以汇编语言编写的,故解密速度很快。
The procedures of the assembly language preparation, and it very quickly declassified.
用汇编语言编写的可实现fir滤波器功能的程序。
Using assembly language can be prepared by the procedure FIR filter function.
单片机程序设计采用汇编语言实现,它实现了对系统的控制和数据的采集功能。
MCU programming is carried out with assembly language, and it controls the system and collects the testing data.
为了提高该状态监测系统的实时性能,所有程序都是用汇编语言来实现。
For improving the real time performance, all the programs are realized by assemble language.
该课程介绍主流微机的结构、指令及汇编语言程序设计和常用的接口电路。
The course introduces the structure of the mainstream computer, instructions and assembly language programming and common interface circuit.
汇编语言编写的模拟信号到数字信号的转换程序,测试成功。
Assembly language prepared by the analog signal to digital signal conversion, testing success.
而是,用高级语言或者汇编语言编写的程序被转换成机器语言,然后由计算机执行。
Rather, programs written in a high-level language or assembly language are converted to machine language, which is then executed by the computer.
汇编器将汇编语言源代码转换为机器语言。链接器将汇编器产生的单独文件合并成一个可执行程序。
An assembler convert source-code programs from assembly language into machine language. A linker combines individual files created by an assembler into a single executable program.
这是微型处理器中的一个实验,功能是实现串行通信,本程序是用汇编语言编写的,而且有运行结果。
This is the microprocessor an experiment that its function is to achieve serial communications this program is written in assembly language, but operating results.
汇编语言有最少的正式结构,所以这些结构需要由拥有不同经验的程序员实现。这导致代码难以维护。
Assmbly language has minimal formal structure, so structure must be imposed by programmers who have varying levels of experience. This leads to difficulties maintaining existing code.
当尽量减少程序的运行时间很重要时,程序员就使用汇编语言,因为从汇编语言到机器语言的翻译相对简单。
Programmers use assembly languages when it is important to minimize the time it takes to run a program, because the translation from assembly language to machine language is relatively simple.
该方法能够做到与汇编语言程序代码等同的效率。
While measuring the efficiency of programming by using this method, we can get the same efficiency as to use program code of assemble language.
在程序设计方面,本着编程模块化的原则,采用汇编语言进行编程。
In designing program, in line with the programming module principle, adopt the assembler language to carry on programming.
优点:有益于编写小而快的程序。很容易与汇编语言结合。具有很高的标准化,因此其他平台上的各版本非常相似。
Advantages: Good for writing small fast programs. Easy to interface with assembly language. Very standardized, so versions on other platforms are similar.
基于所实现的硬件结构,进行计算机和单片机汇编语言的程序设计。
Based on the hardware structure to be realized, the procedure is designed with the computer and assembly language of single chip.
TSR程序设计一般使用汇编语言编制,且最好链接成。
TSR programs are commonly designed by using assembly language and, preferably, compiling into com files.
本系统实现程序由C语言和汇编语言完成。
The system was constructed by the language of C and assembler.
软件程序用PIC系列汇编语言写成。
软件程序用PIC系列汇编语言写成。
应用推荐