翻译一半的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!)
支持所有指令,如英特尔奔三处理器,英特尔MMX扩展,Streaming SIMD扩展(SSE),以及AMD Athlon处理器(包括3D)
    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.
当替代内置汇编的时候,你可以链接到一个包含有外部过程和函数的目标文件。更多的信息查看外部声明。
Note
注意,如果你有外部汇编代码,你想把它们用在你的应用程序中,你要考虑在Delphi中重写他,或者最底限度的使用内嵌汇编来实现。
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.
The built-in assembler is accessed through asm statements, which have the form
内嵌汇编通过asm标识符来存储,使用end段来结束。
asm statementList end
where statementList is a sequence of assembly statements separated by semicolons, end-of-line characters, or Delphi comments.
汇编段使用分号来分割汇编代码段,字符的末尾可以使用delphi注释。
Comments in an asm statement must be in Delphi style. A semicolon does not indicate that the rest of the line is a comment.
内嵌汇编的注释必须是delphi的风格,分号并不能表示当前行剩余部分就是注释。
The reserved word inline and the directive assembler are 
    
     
	
	
    
    
	相关文档:
        
    
     Delphi的源码定位方法网上搜索到好像不太多。
这里分享我自己的两个方法。
引用一段话
 引用内容
什么是 MAP 文件?
MAP 文件是程序的全局符号、源文件和代码行号信息的唯一的文本表示方法,它可以在任何地方、任何时候使用,不需要有额外的程序进行支持。而且,这是唯一能找出程序崩溃的地方的救星。
DEL ......
	
    
        
    
    
 
获得网卡的MAC地址在很多地方都有很大的用处,下面的函数以XX-XX-XX-XX-XX-XX 的格式返回远程或本地机器的MAC地址。
Function to return the MAC address of a remote or local machine in the format XX-XX-XX-XX-XX-XX 
返回的MAC地址是一个能用在多个方面的唯一标识。使用方法:
ShowMessage(GetMacAddress( ......
	
    
        
    
     格式:操作数 Shl/Shr 移动位数 
说明:操作数与返回值都是整数
例子:16(10) = 10000(2)
     16(10) Shr 1 = 10000(2) Shr 1 = 1000(2) = 8(10)
     16(10) Shr 2 = 10000(2) Shr 2 = 100(2) = 4(10)
说明:一个整数(I)按位左移一位,相当于把它乘以2,即 I * 2
&n ......
	
    
        
    
     一、整数类型
类型 所占字节数 取值范围
byte 1 0-255
word 2 0-65535
shortint 1 -128-127
smallint 2 -32768-32767
integer 4 -214748648-214748467
longint 4 -214748648-214748467
cordinal 4 0-2147483647
二、实数类型
类型 所点字节数 取值范围
Real 6 ±2.9×10的负39次方到1.7× ......
	
    
        
    
    原来是要在FormCreate中加入以下代码:
procedure TTntForm1.TntFormCreate(Sender: TObject);
begin
  //这句很关键.对于平台的支持.
  if Win32Platform = VER_PLATFORM_WIN32_NT then
    Font.Name := 'MS Shell Dlg 2'
  else
    Font.Name := 'MS Shell Dlg';
 ......