Question
Answer the following question in Bold letters using the information provided: Suppose the following sequence of instructions executes on a system with a TLB(Translate lookaside
Answer the following question in Bold letters using the information provided:
Suppose the following sequence of instructions executes on a system with a TLB(Translate lookaside buffer) of infinite size that is initially empty.
load 4096, r1
load 4100, r2
Executing this fragment requires eight operations:
1. Translating the address of the first instruction
2. Fetching the first instruction
3. Translating the address of the first data location (4096)
4. Reading the first data value
5. Translating the address of the second instruction
6. Fetching the second instruction
7. Translating the address of the second data location (4100)
8. Reading the second data value
If the system has no TLB(Translate lookaside buffer), each of these operations requires a memory access. How many memory accesses are required if the system does have a TLB?
You may assume that both instructions are located on the same page. The virtual address locations 4096 and 4100 are also located on one page, which is different from the page that contains the instructions. The TLB is initially empty.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started