06 2010 档案
摘要:Inline Assembler in Delphi (III) Static ArraysBy Ernesto De Spirito <edspirito@latiumsoftware.com>Passing static arrays as parameters传递作为参数的静态数组Static arrays parameters are passed as pointers to...
阅读全文
摘要:verview of component creation组件创建概述This chapter provides an overview of component design and the process of writing components for Delphi applications. The material here assumes that you are familiar ...
阅读全文
摘要:http://delphi.about.com/od/windowsshellapi/a/xml_delphi.htmCreating, Parsing and Manipulating XML Documents with DelphiDelphi and the Extensible Markup LanguageBy Zarko Gajic, About.com Guide使用Delphi创...
阅读全文
摘要:asm mov ax, 1 sub ax, 1 //执行后ZF = 1 end;//ZF标志相关指令的计算结果是否为0.大都是算术指令,进行逻辑运算后算术运算.function MulInt2(I: Integer): Integer; 参数由EAX传入Begin asm add eax, eax end;end;function MulInt2(I: Integer): Integer;Begi...
阅读全文
摘要:The built-in assembler divides expressions into three classes: registers, memory references, and immediate values.内嵌的汇编器把表达式分为3种类型:寄存器,内存引用和立即数.An expression that consists solely of a register name is...
阅读全文
摘要:Differences between Delphi and assembler expressionsDelphi表达式和汇编表达式的区别The most important difference between Delphi expressions and built-in assembler expressions is that assembler expressions must res...
阅读全文
摘要:Labels are used in built-in assembly statements as they are in the Delphi language--by writing the label and a colon before a statement. //标签被用在内嵌汇编中因为他们在Delphi语言中->用一个标签和分号写在一个语句之前。There is no lim...
阅读全文
摘要:This syntax of an assembly statement is汇编语句的语法Label: PrefixOpcodeOperand1, Operand2Label: PrefixOpcodeOperand1, Operand2where Label is a label, Prefix is an assembly prefix opcode (operation code), Op...
阅读全文
摘要:The built-in assembler is accessed through asm statements, which have the formasm statementList end//通过具有asm statementList end形式的asm语句利用内嵌的汇编器。where statementList is a sequence of assembly statements ...
阅读全文
摘要: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 instr...
阅读全文
摘要:function Sum(X, Y: Integer): Integer;begin Result := X + Y;end;could be written in assembly language asfunction Sum(X, Y: Integer): Integer; stdcall;begin asm MOV EAX,X ADD EAX,Y MOV @Result,EAX end;e...
阅读全文
摘要:在计算机内,定点数有3种表示法:原码、反码和补码。所谓原码就是二进制定点表示法,即最高位为符号位,“0”表示正,“1”表示负,其余位表示数值的大小。反码表示法规定:正数的反码与其原码相同;负数的反码是对其原码逐位取反,但符号位除外。 补码表示法规定:正数的补码与其原码相同;负数的补码是在其反码的末位加1。反码是在原码的基础上提出来的,补码是在反码的基...
阅读全文
浙公网安备 33010602011771号