5.1 The function and basic structure of the CPU

5.1.1 Function of CPU

1) 指令控制Fetch instructions, analyze instructions, and execute instructions.
2) 操作控制Send the operation signal to the corresponding component.
3) 时间控制
4) 数据加工Arithmetic and logical operations.
5) 中断处理Deal with computer abnormalities.

5.1.2 CPU structure

Insert picture description here
1. Operator
1) Arithmetic logic unit
2) Temporary storage register(对应用程序员透明)
3) Accumulation register
4) General register group(存放源操作数、目的操作数、各种地址信息)The length is equal to the machine word length for easy operation
5) Program status word register
6) Shifter
7) Counter
2. Controller
1) Program counter存储后继指令内存单元地址Stored is the address of the memory, the length is related to the memory capacityPC->MAR
2) Instruction registerLength depends on instruction length
3) Instruction decoder
4) Memory address register
5) Memory data register
6) Timing system
7) Micro-operation signal generator
例题
Insert picture description here
Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_38220799/article/details/109008223
5.1