当前位置:网站首页>计组第一章
计组第一章
2022-06-12 07:56:00 【慕醒_mx】
第一章
1.2.1硬件基本组成

主存:运行内存
辅存:机身存储

1.2.2认识各个硬件部件

MAR中存储所有的地址,因此MAR的位数即所有地址的个数,也就对应存储单元的个数
每个存储单元中去除的数据是要存放到MDR中的,因此MDR的位数待变这个存储单元中代码的位数,即存储字长
MDR的位数代表一个字=多少bit(即存储字长)

第一条指令:

首先整个表存入存储体中
然后要进行完成一条指令的第一个步骤:取指令。PC就要存放第一条指令地址,就是0。有了地址就要从存储器中取出指令,就需要把PC中存放的地址交给MAR,MAR中就存放了第一条指令的地址:0;然后从存储体中寻找地址为0的指令并放入MDR中存放。此时MDR中数据为000001 000000101。然后要存储指令,就要将MDR中的指令取出方人员IR中存储。此时第一个步骤完成。此时PC自加1。
然后第二步骤,分析指令。将IR中存储的操作码送入CU中分析,分析出指令为"取数"。
分析完成进行第三个步骤:执行指令。开始从存储器中取数,并将操作数存入ACC。将需要取的数的地址码送入MAR,MAR中地址为000000101,也就是5。然后从存储体地址为5的位置取出存放的数据并存入MDR,此时MDR中数据为0000000000000010。然后从MDR中取出数据存入ACC,此时ACC中数据为0000000000000010。第一个指令执行完毕。
1.2.3计算机系统的层次结构

编译语言只编译一次,效率更高
解释语言每一次执行都需要重新编译,效率低一些

1.3计算机性能指标
存储器性能指标

CPU性能指标
GHz:CPU主频
主频10hz:数字脉冲信号每秒振荡10次

1KIPS--指计算机每秒可以执行一千条指令
1GFLOPS--指计算机每秒执行十亿次浮点运算
系统整体性能指标(静态)
数据通路带宽:
数据总线1次所能并行传送信息的位数(各硬件部件通过数据总线传输数据)

吞吐量:
指系统在单位时间内处理请求的数量。
响应时间:
指从用户向计算机发送一个请求,到系统对该请求做出响应并获得它所需要的结果的等待时间。

系统整体性能指标(动态)

跑分软件设计好了包含各种各样指令的程序让计算机去跑进而获取计算机运行的性能

存储容量:k=2^10 M=2^20 G=2^30 T=2^40
频率、速率:k=10^3 M=10^6 G=10^9 T=10^12
边栏推荐
- Leetcode notes: Weekly contest 276
- Classic paper review: palette based photo retrieval
- 20220607. 人脸识别
- NaiveBayes function of R language e1071 package constructs naive Bayes model, predict function uses naive Bayes model to predict and reason test data, and table function constructs confusion matrix
- LeetCode笔记:Biweekly Contest 79
- Chapter 6 - identity authentication, Chapter 7 - access control
- Rnorm function of R language generates positive distribution data, calculates descriptive statistical summary information of vector data using sum function of epidisplay package, and visualizes ordere
- Rich dad, poor dad Abstract
- In depth learning, the parameter quantity (param) in the network is calculated. The appendix contains links to floating point computations (flops).
- AJ project: online bank project summary
猜你喜欢

Classic paper review: palette based photo retrieval

謀新局、促發展,桂林綠色數字經濟的頭雁效應

2、 Eight, ten and hexadecimal conversion

Explain the basic working principle of Ethernet

Pytorch profiler with tensorboard.

最新hbuilderX编辑uni-app项目运行于夜神模拟器

Topic 1 Single_ Cell_ analysis(1)

Chapter 2 - cyber threats and attacks

Generalized semantic recognition based on semantic similarity

Servlet advanced
随机推荐
Voice assistant - future trends
LeetCode笔记:Biweekly Contest 79
最新hbuilderX编辑uni-app项目运行于夜神模拟器
Kalman filter encapsulation function
Primal problem and dual problem
Servlet
Leetcode notes: Weekly contest 278
Voice assistant -- Qu -- semantic role annotation and its application
Seeking for a new situation and promoting development, the head goose effect of Guilin's green digital economy
Voice assistant - Qu - single entity recall
Topic 1 Single_ Cell_ analysis(1)
Conda創建虛擬環境報錯,問題解决
ECMAScript6面试题
Leetcode notes: Weekly contest 275
Compiling principle on computer -- functional drawing language (V): compiler and interpreter
What is a good recommendation system?
Introduction to coco dataset
Compiling principle on computer -- function drawing language (II): lexical analyzer
Chapter 2 - cyber threats and attacks
LeetCode笔记:Weekly Contest 296