retagged by
328 views
0 votes
0 votes
1. Effective address(Address of instruction or operand ) is virtual address or physical address?

2. While solving problems is OS we say CPU generates virtual address and while is CO we say CPU generates physical address.But what does CPU actually generates? I think CPU always generates Virtual adress,but not sure.
retagged by

1 Answer

Best answer
1 votes
1 votes

actually .....CPU is boss.....so he will always say things like give me 1st page of process...then 2nd one then so on....

for next process/task CPU says same ...that is give 1st instruction...2nd and 3rd so on....so CPU always generate a virtual address...

When you see effective address ...its actual address of chip/place of RAM where the instruction actually resides....

we have a memory management unit. which will map that virtual address into physical address..best example is you can see paging..in OS , where CPU gives a virtual address say 1 but actually that 1st instruction may reside on any space present in RAM as per availability.....hence MMU convert virtual address into physical one...and then provides data to CPU..

SO CPU = ALWAYS VIRTUAL ADDRESS....

EFFECTIVE ADDRESS="ACTUAL PHYSICAL LOCATION OF INSTRUCTION / DATA"..

selected by

Related questions

3 votes
3 votes
1 answer
1
Shubhanshu asked Jul 19, 2017
350 views
Consider an instruction which has a speed up factor 12 while operating with a 70% efficiency. What could be the number of stages in the pipeline?What will be its answer 1...
2 votes
2 votes
4 answers
2
1 votes
1 votes
1 answer
3
0 votes
0 votes
0 answers
4
hem chandra joshi asked Sep 16, 2017
196 views
1. Physically Index Physically accessed Cache2. Physically Index Virtually accessed Cache3. Virtually Index Physically accessed Cache4. Virtually Index Virtually accessed...