Post

chap5_solutions

chap5_solutions

5.2


  • ==块大小为1个字——offset字段为0位==
  • ==块大小为2个字——offset字段为1位==

5.3


  • 块大小为2个字——offset字段为1位字偏移量+3位
  • 32KiB = 2^15 bytes

5.4


  • cache块大小——只看offset位数,其中有3位是固定的字偏移量,剩下的若有n位,则块大小为2^n
This post is licensed under CC BY 4.0 by the author.