Welcome, Guest. Please Login
Back to main page
  News:
Welcome to the ShadowFlare's Realm Forums.  New registrations are by request only.  To be considered for a new forum account, send an e-mail with the user name and display name you want and the reason you want to register.
  Home SFRealm HelpSearchLogin  
 
Pages: 1
Send Topic Print
Need some help about assembly prog (Read 2157 times)
matefkr
Peon
*
Offline

i am me

Posts: 8
Ukraine (west border)
Gender: male
Need some help about assembly prog
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?
Back to top
 
 
  IP Logged
exile
Peon
*
Offline

i love u---gj!!!

Posts: 1

Gender: male
Re: Need some help about assembly prog
Reply #1 - May 17th, 2007, 12:05pm
 
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
Ukraine (west border)
Gender: male
Re: Need some help about assembly prog
Reply #2 - May 31st, 2007, 8:29pm
 
maybe.
Back to top
 
 
  IP Logged
Pages: 1
Send Topic Print