Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Watcom ASM + C puzzle, variable has conflicting addresses (Developers)

posted by bretjohn Homepage E-mail, Rio Rancho, NM, 08.01.2026, 21:53

> Accessing data where DS points to does not need a segment override, but
> other segment registers need it. In other words, DS is the default segment.

Actually, this isn't true in all cases. For example, some OpCodes such as certain string-related ones (STOSx, MOVSx, INSx, etc.) use ES by default, and anything which uses BP as part of a pointer uses SS by default.

 

Complete thread:

Back to the forum
Board view  Mix view
23153 Postings in 2179 Threads, 404 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum