ShadowFlare's Realm
http://sfsrealm.hopto.org/cgi-bin/yabb2/YaBB.pl
ShadowFlare's Realm Forums >> Program Development >> Need some help about assembly prog
http://sfsrealm.hopto.org/cgi-bin/yabb2/YaBB.pl?num=1173561130

Message started by matefkr on Mar 10th, 2007, 8:12pm

Title: Need some help about assembly prog
Post by matefkr on Mar 10th, 2007, 8:12pm

Quick question: how interpret the cpu a memory address?
I know in real mode: segmentaddr*16 + offset
I know in protected mode there are selectors which select descriptors, and this descriptors contains descriptions about a memory block (base address, size, some flags), and there are offsets, which points to a memoryblock (it depends on the used selector [actually on the selected descriptor] The question is that:

  Do the processor add the offset to the base address (wich is in the selected descriptor) or it depends just on the offset?

Title: Re: Need some help about assembly prog
Post by exile on May 17th, 2007, 12:05pm

in my opinion,it maybe offset+base addr,for that the attached addr in the system is not constant.....

Title: Re: Need some help about assembly prog
Post by matefkr on May 31st, 2007, 8:29pm

maybe.

ShadowFlare's Realm » Powered by YaBB 2.2.1!
YaBB © 2000-2008. All Rights Reserved.