Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

distinguish between physical addresses and logical address?

Answer Posted / salman

An address generated by the CPU is commonly refereed as
Logical Address,whereas the address seen by the memory
unit,that is one loaded into the memory address register of
the memory is commonly refereed as the Physical Address.The
compile time and load time address binding generates the
identical logical and physical addresses.However, the
execution time address binding scheme results in differing
logical and physical addresses.

The set of all logical addresses generated by a program is
known as Logical Address Space,whereas the set of all
physical addresses corresponding to these logical addresses
is Physical Address Space.Now, the run time mapping from
virtual address to physical address is done by a hardware
device known as Memory Management Unit.Here in the case of
mapping the base register is known as relocation
register.The value in the relocation register is added to
the address generated by a user process at the time it is
sent to memory.Let's understand this situation with the help
of example:If the base register contains the value 1000,then
an attempt by the user to address location 0 is dynamically
relocated to location 1000,an access to location 346 is
mapped to location 1346.

The user program never sees the real physical address
space,it always deals with the Logical addresses.As we have
two different type of addresses Logical address in the range
(0 to max) and Physical addresses in the range(R to R+max)
where R is the value of relocation register.The user
generates only logical addresses and thinks that the process
runs in location to 0 to max.As it is clear from the above
text that user program supplies only logical addresses,these
logical addresses must be mapped to physical address before
they are used.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is merge command in unix?

1443


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1140


How do I clear my terminal history?

1090


What do chown command do?

1115


What is in grep command?

1119


Does cp command overwrite files?

1134


What is the use of finger command?

1138


How do you grep recursively?

1055


Which unix command to make a new directory?

1066


What is awk command used for?

1126


How does the system know where one command ends and another begins?

2173


Explain command to view process running?

1067


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

2202


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1143


What is unix command?

1202