Assembly Arithmetic Algorithms: 16-Bit DOS Edition

Chastity White Rose
Sale price:$33.99 Regular price: $39.99

Learn to build small, lightning-fast programs that squeeze every last byte out of your machine. You will gain the confidence to write complete text-based console applications from scratch, controlling the computer directly instead of leaning on layers of abstraction that hide how things really work.

Working through clear, fully explained examples, you will print text and numbers, convert freely between binary, decimal, and hexadecimal, and implement classic integer sequences such as Fibonacci, powers of two, and prime numbers. Assembly Arithmetic Algorithms takes you from your very first program all the way to a reusable function library and a working command-line hex editor, with every instruction broken down so you always know exactly why your code behaves as it does.

You will also learn to translate your assembly skills into C and carry the same techniques onto modern Linux systems in both 32-bit and 64-bit forms. Because each chapter builds on a deliberately small instruction set, you are never buried under hundreds of opcodes, and you steadily develop the ability to write almost any program you can imagine.

Whether you want to become a stronger programmer in any language or simply rediscover the joy of low-level computing, you will finish with practical skills you can apply right away and a far deeper understanding of how computers truly think.

"I think DOS is the best first platform for learning assembly as it sets the stage for using it on other modern operating systems and achieving maximum speed." - Chastity White Rose

Who This Book Is For

Programmers with experience in at least one language who want to understand computers at the lowest level and write their own efficient programs for DOS and Linux.

Unique Selling Points

Teaches a deliberately minimal instruction set, so you can write almost any program without memorizing hundreds of opcodes

Includes complete, downloadable example programs, from a first "Hello World" to a fully working command-line hex editor

Shows assembly and C versions side by side to bridge low-level and high-level programming

Written by Chastity White Rose, author of over twelve books on programming and other subjects

Table of Contents

Chapter 1: The First Program

Chapter 2: The putstring Function

Chapter 3: The intstr and putint functions

Chapter 4: Chastity's Intel Assembly Reference

Chapter 5: Integer Sequences and Their Application in Learning

Chapter 6: The strint Function

Chapter 7: Translating Assembly to Other Programming Languages

Chapter 8: Going from DOS to Linux or Windows

Chapter 9: Bitwise Operations for Advanced Nerds

Chapter 10: chastehex: Not Just a Program, but a Philosophy

Chapter 11: Bonus Content

Chapter Z: More Documentation

Appendix: System Calls for DOS



Binding Type: Paperback
Publisher: Project Q Publishing
Published: 10/23/2026
ISBN: 9781918722086
Pages: 186
Weight: 0.73lbs
Size: 9.25h x 7.50w x 0.40d