Home > Writings > Programming
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.
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.