Segment to Descriptor [0.9]

Maps a real mode segment (paragraph) address onto an LDT descriptor that can be used by a protected mode program to access the same memory.

Call With

AX = 0002H
BX = real mode segment address

Returns

if function successful
Carry flag = clear
AX = selector for real mode segment

if function unsuccessful
Carry flag = set
AX = error code
8011Hdescriptor unavailable

Notes