Tag: inline assembly
This post gives a few C++ implementations that fill an array of integers by every 4 byte. Please note that the function FillChar works on the byte level (filling …
October 16, 2013
16 bit, assembly language, code, DOS, DOSBOX, I/O File, implementation, MSDOS 16-bit, programming languages, windows, windows command shell
We have previously introduced the open source project DOSBox, an x86 emulator for DOS. This brings back some good memory of writing DOS assembly. The .COM binary is the …
Today, there are many high-level programming languages (known as fourth generation, the Object Oriented Programming) available so what fuzz is about this Win32 Assembly programming? As we know, the …
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 …