深入理解计算机操作系统第六章家庭作业

6.22

0.5

6.23

6.005ms

6.24

A: 16ms
B: 24s

6.25

m c B E S t s b
32 1024 4 4 64 24 6 2
32 1024 4 256 1 30 0 2
32 1024 8 1 128 22 7 3
32 1024 8 128 1 29 0 3
32 1024 32 1 32 22 5 5
32 1024 32 4 8 24 3 5

6.26

m c B E S t s b
32 2048 8 1 256 21 8 3
32 2048 4 4 128 23 7 2
32 1024 2 8 64 25 6 1
32 1024 32 2 16 23 4 5

6.27

A: 0x08A4 - 0x08A7, 0x0704 - 0x0707
B: 0x1238 - 0x123B

6.28

A.
None

B.
0x18F0 - 0x18F3
0x00B0 - 0x00B3

C.
0x0E34 - 0x0E37

D.
0x1BDC - 0x1BDF

6.29

A.

      11   10    9    8    7    6    5    4    3    2    1   0
    +----+----+----+----+----+----+----+----+----+----+----+----+
    | CT | CT | CT | CT | CT | CT | CT | CT | CI | CI | CO | CO |
    +----+----+----+----+----+----+----+----+----+----+----+----+

B.

read/write addr hit? value(or unknown)
read 0x834 No unknown
write 0x836 No unknown
read 0xFFD Yes 0xC0

6.30

A.

C = E * B * S = 128B

B.

  12   11   10    9    8    7    6    5    4    3    2    1   0
+----+----+----+----+----+----+----+----+----+----+----+----+----+
| CT | CT | CT | CT | CT | CT | CT | CT | CI | CI | CI | CO | CO |
+----+----+----+----+----+----+----+----+----+----+----+----+----+

6.31

A.

  12   11   10    9    8    7    6    5    4    3    2    1   0
+----+----+----+----+----+----+----+----+----+----+----+----+----+
|  0 |  0 |  1 |  1 |  1 |  0 |  0 |  0 |  1 |  1 |  0 |  1 |  0 |
+----+----+----+----+----+----+----+----+----+----+----+----+----+

B.

param value
CO 0x02
CI 0x06
CT 0x38
hit? Yes
return 0xEB

6.32

A.

  12   11   10    9    8    7    6    5    4    3    2    1   0
+----+----+----+----+----+----+----+----+----+----+----+----+----+
|  1 |  0 |  1 |  1 |  0 |  1 |  1 |  1 |  0 |  1 |  0 |  0 |  0 |
+----+----+----+----+----+----+----+----+----+----+----+----+----+

B.

param value
CO 0x00
CI 0x02
CT 0xB7
hit? No
return --

6.33

0x1788 - 0x178B
0x16C8 - 0x16CB

6.34

src:

c0 c1 c2 c3
r0 m m h m
r1 m h m h
r2 m m h m
r3 m h m h

dst:

c0 c1 c2 c3
r0 m m m m
r1 m m m m
r2 m m m m
r3 m m m m

6.35

src:

c0 c1 c2 c3
r0 m h h h
r1 m h h h
r2 m h h h
r3 m h h h

dst:

c0 c1 c2 c3
r0 m h h h
r1 m h h h
r2 m h h h
r3 m h h h

6.36

A.
100%

B.
25%

C.
25%

D.
no

E.
yes 12.5%

6.37

全是 25%

6.38

1024
128
12.5%

6.39

1024
256
25%

6.40

1024
256
25%

6.41

0.25

6.42

0.25

6.43

100%

6.45

循环展开

6.46

循环展开

推荐阅读更多精彩内容

  • 专业考题类型管理运行工作负责人一般作业考题内容选项A选项B选项C选项D选项E选项F正确答案 变电单选GYSZ本规程...
    小白兔去钓鱼阅读 5,748评论 0 4
  • 1. 关于诊断X线机准直器的作用,错误的是()。 (6.0 分) A. 显示照射野 B. 显示中心线 C. 屏蔽多...
    我们村我最帅阅读 1,298评论 0 2
  • 高级钳工应知鉴定题库(858题) ***单选题*** 1. 000003难易程度:较难知识范围:相关4 01答案:...
    开源时代阅读 1,748评论 0 3
  • "use strict";function _classCallCheck(e,t){if(!(e instanc...
    久些阅读 557评论 0 0
  • 在C语言中,五种基本数据类型存储空间长度的排列顺序是: A)char B)char=int<=float C)ch...
    夏天再来阅读 421评论 0 1