Linear Address

eblack10's Avatar
Newbie Member
If you have a variable that has a hexadecimal segment-offset address, 0x08D2:0x0140. What would be the linear address?
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
Depends how the segment and offset are merged. In one x86 mode they are simply concatenated, so the result would be 0x08D20140. But in another mode the segment is multiplied by 16 and added to the offset, so the result is 0x8D20+0x0140=0x8E60.
eblack10 like this