Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
ecm

Homepage E-mail

Düsseldorf, Germany,
28.03.2026, 13:47
 

A Q&A + blog post on NASM label delta arithmetic (Announce)

I finished a pair of pages that I'd been preparing for a while. The first page is a question and answer on stackoverflow.com, asking how to do arbitrary calculations on NASM assembly language labels: https://stackoverflow.com/questions/79916187/how-c...itrary-calculations-on-assembly-language-labels

The answer lists four different approaches, but the point of this Q&A was to introduce a canonical explanation of label delta arithmetic. A label delta is the delta (difference) between two labels that live in the same section of an assembly language source text. Label delta arithmetic then is to do calculations involving one or more label deltas.

The second page I wrote is an article in my blog, quoting many instances in which I or a few others have referred to label delta arithmetic: https://pushbx.org/ecm/dokuwiki/blog/pushbx/2026/0328_comments_on_label_delta_arithmetic

---
l

Back to index page
Thread view  Board view
23342 Postings in 2199 Threads, 406 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum