当前位置:网站首页>计组第一章
计组第一章
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
边栏推荐
- 20220524 backbone deep learning network framework
- Voice assistant -- vertical class perpetual motion machine -- automated iteration framework
- Rich dad, poor dad Abstract
- Ecmascript6 interview questions
- Data visualization and Matplotlib
- Cold start problem of recommended system
- Leetcode notes: Weekly contest 280
- 20220526 loss function
- ECMAScript6面试题
- Chapter V - message authentication and digital signature
猜你喜欢

Primal problem and dual problem

Mathematical knowledge - matrix - matrix / vector derivation

Symfony 2: multiple and dynamic database connections

vscode 1.68变化与关注点(整理导入语句/实验性新命令中心等)

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

从AC5到AC6转型之路(1)——补救和准备
![[RedisTemplate方法详解]](/img/ef/66d8e3fe998d9a788170016495cb10.png)
[RedisTemplate方法详解]

20220526 yolov1-v5

Topic 1 Single_ Cell_ analysis(4)

『Three.js』辅助坐标轴
随机推荐
Voice assistant - Qu - single entity recall
Chapter 2 - cyber threats and attacks
Seeking for a new situation and promoting development, the head goose effect of Guilin's green digital economy
Data visualization and Matplotlib
System service configuration service - detailed version
Chapter 6 - identity authentication, Chapter 7 - access control
Meter Reading Instrument(MRI) Remote Terminal Unit electric gas water
20220526 损失函数
In depth learning, the parameter quantity (param) in the network is calculated. The appendix contains links to floating point computations (flops).
Principes et exemples de tâches OpenMP
Topic 1 Single_Cell_analysis(1)
Alibaba cloud deploys VMware and reports an error
. net mysql Too many connections
Logistic regression
CONDA reports an error when creating a virtual environment, and the problem is solved
C # hide the keyboard input on the console (the input content is not displayed on the window)
The R language converts the data of the specified data column in the dataframe data from decimal to percentage representation, and the data to percentage
Voice assistant - Multi round conversation (process implementation)
R language uses neuralnet package to build neural network regression model (feedforward neural network regression model) and calculate MSE value (mean square error) of the model on the test set
JSP technology