Page Index Toggle Pages: 1
Topic Tools
Normal Topic Need some help about assembly prog (Read 2463 times)
matefkr
Peon
*
Offline


i am me

Posts: 8
Location: Ukraine (west border)
Joined: Mar 10th, 2007
Need some help about assembly prog
Mar 10th, 2007 at 8:12pm
Post Tools
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? 
  
Back to top
 
IP Logged
 
exile
Peon
*
Offline


i love u---gj!!!

Posts: 1
Joined: May 17th, 2007
Re: Need some help about assembly prog
Reply #1 - May 17th, 2007 at 11:05am
Post Tools
in my opinion,it maybe offset+base addr,for that the attached addr in the system is not constant.....
  
Back to top
 
IP Logged
 
matefkr
Peon
*
Offline


i am me

Posts: 8
Location: Ukraine (west border)
Joined: Mar 10th, 2007
Re: Need some help about assembly prog
Reply #2 - May 31st, 2007 at 7:29pm
Post Tools
maybe.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools