To: djgpp AT delorie DOT com Subject: Re: pmode selectors Message-ID: <19961217.074133.12471.3.aclemmer@juno.com> References: From: aclemmer AT juno DOT com (Aaron m Clemmer) Date: Tue, 17 Dec 1996 19:43:15 EST On Tue, 17 Dec 1996 09:09:56 +0200 (IST) Eli Zaretskii writes: >Close, but not quite there yet. `__tb' can be used as both seg:off pair >and as a protected-mode selector:offset. If you need the real-mode style >address, you use (__tb >> 4) & 0xffff as the segment and (__tb & 0xf) as >the offset. If you need a PM-style address, you use `_dos_ds' (a macro >defined on ) as the selector and __tb as the offset. I appreciate the your reply, I actually understand what's going on now...