- 硬盘中存储需要持久保存的数据,容量大速度慢。
- 内存中以堆或栈的结构形式存储着CPU计算所需要的数据,容量较小速度较快。内存中的数据又是来源于硬盘。
- CPU主要负责计算,但也有一定的暂存功能。CPU从内存中读取数据作为操作数存到其寄存器(register)中,然后调用运算器(arithmetic logic unit)作计算。CPU还有控制器(control unit)用以控制系统其他部分(如其他硬件)。
- 指令(directive),是和数据(data)相对的。指令和数据被保存在内存中,CPU读取内存中的指令并执行。
-
-
Save lqt0223/e7fd5970d3ab17d8df41c39b2512a952 to your computer and use it in GitHub Desktop.
02 Relationship between CPU, memory, hard disk and directives
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment