Home > Writings > Programming

Using Assembler in Delphi

Fourth revision - May 2010

Assembler code on top of cogs

This article gives background information and practical instructions for writing assembler code blocks as part of a Delphi application. It offers general principles as well as detail about register usage, stack frames, parameter handling and returning results.

Start Reading...


Floating Point Essentials

Third revision - June 2010

Three blocks with the digits 1-3

This article explains the basics of floating point types and arithmetic, a topic that many programmers are too unfamiliar with. That leads to unexpected and even incorrect output, from faulty branching to invoicing software where the end total printed is fractionally different from the actual sum of the item lines. Every programmer should have the knowledge explained in this article before writing software for the real world.

Start Reading...