Question: A program is loaded into the main memory at physical location 3 2 KB for execution. The code section of the running process's address space

A program is loaded into the main memory at physical location 32KB for execution. The code section of the running process's address space contains the following 3 lines, with their virtual address to the left:
@128: movl 0x0(%ebx),%eax //line 1
@132: addl $0x03,%eat //line 2
@135: movl %eax, 0x0(%ebx)//line 3
After line 1 is executed, the process is de-scheduled and swapped out to hard disk. Later this process is rescheduled and loaded into the main memory at location 64KB.
What address value will the user and MMU see for the next-to-be-run instruction respectively?
132,65668
128,65664
132,132
128,128

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!