[理工] 99中央計組
Given that computer has a 32bit virtual address
with the page size equal to 4KB and a 28bit physical address.
What is the size of the page table in bits,
if we ignore other flag bits?
解答:
the number of virtual page number =2^20
the length of physical page number=28-12=16
the size of page table =2^20 * 16 =16 bit
我會畫圖求出Virtual address跟Physical address的Tag跟index bit
因為上一題是問TLB,我一開始直覺以為VA是指TLB或PageTable
PA是指Cache
後來看了解答才發現似乎是指SegmentTable跟PageTable
但解答的答案好像也怪怪的,
有沒有什麼辦法能清楚分辨題目的VirtualAddress是指什麼?
另外能不能幫我講解一下這題@@
感謝:)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 115.82.3.3
→
01/25 10:58, , 1F
01/25 10:58, 1F
推
01/25 18:47, , 2F
01/25 18:47, 2F