C语言学习记录(1)计算机结构与指针
Memory 内存
- Structure : series of octets
1 octet = 1 byte = 8 bits
------->Binary number of integer between 0 and 255 - contents : code binary of instructions , data (on many octets)
Control unit 控制单元
-
Arithmetic logic unit (ALU) 算数逻辑单元
-
command unit :
Lecture of instructions, sequences of it’s execution and exchange with the memory -
Hardware register 硬件寄存器 —>不同种类的硬件I/O 的存储区域
Bus 总线
计算机组件间规范化的交换数据的方式
(在主板间传输bit,一次只能传输一个,因此必须采用多条线路。
总线可同时传输的数据->宽度 width
带宽-> 单位时间可以传输的总数据数
带宽 = 频率 × 宽度 (Bytes/sec)