[理工] 計組 110

看板Grad-ProbAsk作者時間5年前 (2020/01/31 23:34), 5年前編輯推噓3(302)
留言5則, 3人參與, 5年前最新討論串1/1
http://i.imgur.com/Jltsmsq.jpg
請問這題的tag 跟index是怎麼算出來的阿? ----- Sent from JPTT on my OPPO CPH1701. -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 42.72.101.106 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1580484867.A.3A4.html

02/01 01:35, 5年前 , 1F
index跟你算的一樣 tag是因為虛擬地址的長度是記憶體能容
02/01 01:35, 1F

02/01 01:35, 5年前 , 2F
納的frame數(1M=2^20)有20bit 20-index-offset=tag
02/01 01:35, 2F
不用再乘上32嗎

02/01 09:59, 5年前 , 3F
我這邊還來得及 110年考了哪些?
02/01 09:59, 3F
※ 編輯: lucy35 (114.137.97.19 臺灣), 02/01/2020 11:23:31

02/01 13:26, 5年前 , 4F
這題重點是位址是word address 不是byte
02/01 13:26, 4F

02/01 13:31, 5年前 , 5F
02/01 13:31, 5F
文章代碼(AID): #1UD4a3Ea (Grad-ProbAsk)