作者先提出了一个问题:
计算机硬件由许多不同的组件组成,这些组件的实现方法也多种多样。
我们如何协调和组织这些设备使它们正常工作呢?
答案是节奏、节拍:
我们以管弦乐队来类比,在乐队中有一个指挥。。。
在计算机中,电子时钟扮演着指挥这一角色。
另一方面:
冯·诺依曼引入了另一个重要概念,即读取指令执行周期。
这依赖于电子时钟产生的“心跳”来驱动计算机执行一系列操作。
他是这么设计控制周期的:
从内存获取下一条指令,将其传递给控制单元
使用从内存获取的数据或现存数据执行指令
把处理结果存回到内存中
重复取指令执行周期
现代的产品是这样的:
![](https://img.haomeiwen.com/i11508273/7f134dfe624085f0.png)
The CU fetches instructions from the memory, decodes them and generates
the sequence of control signals that are required for completing the instruc�tions. The ALU performs the arithmetical and logical operations. For an execu�tion of each instruction, various components need to be connected by switches
that set the paths directing the flow of electrons. The bank of registers is for
storing the instructions and the intermediate results of operations.
网友评论