Re: How does a processor generate an address?
- From: "Mary" <mipshelp@xxxxxxxxx>
- Date: 27 Sep 2005 13:49:33 -0700
Say for example we have 3 programs. A drawback here is that physical
memory is not enough to execute all 3. YOu mentioned in a multitasking
OS, we can load several pgms at once at diff P.A.'s. Based on your
explanation, this is the picture I get.
_________________
^ | | <------- Program 1(Starting address 1)
| | |
| | physical |
| | MEMORY | <------- Program 2(Starting address 2)
| | |
| | | <------- Program 3(Starting address 3)
Address 0x0 |________________|
What do you mean by "with all programs linked as if they were loaded
starting at address 0"? And why do we need to do this? Do programs
always need to run at the start of the address region?
Are the "Starting addresses" from the diagram above all "virtual
addresses"? In other words, they need to be translated to a phyical
address when its their turn to run.
Am I heading in the right direction? Your explanation was what I was
looking for, and I'm getting closer to understanding this, but not
quite.
Thank you!
Mary
.
- Follow-Ups:
- Re: How does a processor generate an address?
- From: Paul Marciano
- Re: How does a processor generate an address?
- References:
- How does a processor generate an address?
- From: Mary
- Re: How does a processor generate an address?
- From: Roberto Waltman
- How does a processor generate an address?
- Prev by Date: Re: How does a processor generate an address?
- Next by Date: Re: How does a processor generate an address?
- Previous by thread: Re: How does a processor generate an address?
- Next by thread: Re: How does a processor generate an address?
- Index(es):
Relevant Pages
|