Category: assembly language
August 1, 2013
32 bit, 64 bit, assembly language, beginner, compiler, delphi, I/O File, implementation, interpreter / compiler, object pascal, programming languages, technical, tools / utilities, VMProtect, Win32 API, windows
VMProtect (http://vmpsoft.com) is a powerful Software Protection tool. It is developed by a Russian company. It is a commercial software. The VMProtect supports licensing distribution by serial key string. …
I was reading the source code of the FastMM4 and this short function came to my eyes. function GetThreadID: Cardinal; {$ifdef 32Bit} asm mov eax, FS: end; {$else} begin Result …
April 22, 2013
64 bit, assembly language, beginner, compiler, floating point, implementation, interpreter / compiler, object pascal, programming languages, technical, tricks, windows
Delphi XE3 compiles 64-bit fast floating point code based on SSE2 (Streaming SIMD Extensions). The SSE instruction data move for 4-byte singles such as movaps requires data address to be 16-byte …
April 22, 2013
64 bit, assembly language, bug fixes, code, compiler, delphi, implementation, interpreter / compiler, optimization, programming languages, technical, tricks, windows
I came across a very strange problem when I tried to use Copy function in Delphi XE3. The Copy function behaves differently for string when compiled into 32bit and 64bit using Delphi …
April 6, 2013
algorithms, assembly language, c / c++, code, compiler, implementation, interpreter / compiler, math, object pascal, optimization, programming languages, tricks
In mathematics, the absolute function is defined as: This function is simple, and quite in popular usages. The absolute value is considered as one of the fundamental operations in …