此处所列的文章均是我自己从国外的网站摘抄并翻译的,由于英文水平有限,里面肯定有不少错漏.翻译这些东西没有其他的什么用途,只是提高自己的英语阅读能力和编程技术水平而已     

Delphi帮助文档(翻译一)

The built-in assembler allows you to write assembly code within Delphi programs. It has the following features:

//内置的汇编器使你可以在Delphi程序里编写汇编代码,它有如下功能:

Allows for inline assembly

允许的内嵌汇编语言
 Supports all instructions found in the Intel Pentium III, Intel MMX extensions, Streaming SIMD Extensions (SSE), and the AMD Athlon (including 3D Now!)

支持存在于英特尔奔腾III, 英特尔MMX扩展,Streaming SIMD Extensions (SSE) 和 AMD Athlon (包括3D Now!)的所有指令。
 Provides no macro support, but allows for pure assembly function procedures

提供无宏的支持,但允许纯汇编语言的函数和过程。
 Permits the use of Delphi identifiers, such as constants, types, and variables in assembly statements

在汇编语句中允许使用Delphi的标志符,比如常量,类型,还有变量。

As an alternative to the built-in assembler, you can link to object files that contain external procedures and functions. See External declarations for more information.

作为一个可供选择的内嵌汇编器,你可以链接包含外部过程和函数的对象文件,更多信息参考External declarations

Note

If you have external assembly code that you want to use in your applications, you should consider rewriting it in the Delphi language or minimally reimplement it using the inline assembler.

说明

如果你有想在程序中使用的外部汇编代码,你应该考虑用Delphi语言重写或者用极少的内嵌汇编去实现它。

posted @ 2010-06-05 08:03  AppleAndPear  阅读(369)  评论(0编辑  收藏  举报