← 返回资讯屏轩教育 · 行业资讯

IGCSE OCR Computer Science CPU Revision Notes | IGCSE OCR 计算机:CPU 考点精讲

2026-07-14 18:30 · 本文部分内容由AI辅助创作

📚 IGCSE OCR Computer Science CPU Revision Notes | IGCSE OCR 计算机:CPU 考点精讲

The Central Processing Unit (CPU) is often called the brain of the computer. It processes all instructions and data, making it the most critical component in any computer system. This article covers the key points you need to know for the OCR IGCSE Computer Science exam, including the Von Neumann architecture, the roles of CPU registers, the fetch-decode-execute cycle, factors affecting CPU performance, and embedded systems.

中央处理器(CPU)常被称为计算机的大脑。它处理所有指令和数据,是任何计算机系统中最关键的组件。本文涵盖 OCR IGCSE 计算机科学考试所需的核心考点,包括冯·诺依曼架构、CPU 寄存器的作用、取指-解码-执行周期、影响 CPU 性能的因素以及嵌入式系统。


1. Introduction to the CPU | CPU 简介

The CPU is a microprocessor chip that executes program instructions and coordinates all hardware activities. In the OCR IGCSE syllabus, you must understand its purpose and how its internal components work together to process data.

CPU 是一块微处理器芯片,它执行程序指令并协调所有硬件活动。在 OCR IGCSE 大纲中,你必须理解它的用途以及其内部组件如何协同工作来处理数据。

The CPU consists of the Control Unit (CU), the Arithmetic Logic Unit (ALU), a set of registers, and cache memory. Data and instructions are fetched from main memory (RAM) and executed in a continuous cycle.

CPU 由控制单元、算术逻辑单元、一组寄存器以及高速缓存组成。数据和指令从主存储器(RAM)中取出,并在一个持续不断的循环中被执行。


2. Von Neumann Architecture | 冯·诺依曼架构

The Von Neumann architecture describes a stored-program concept where both program instructions and data are stored in the same memory unit. This means the CPU can read an instruction and then read or write data from the same memory space.

冯·诺依曼架构描述了一种存储程序概念,即程序指令和数据都存储在同一个内存单元中。这意味着 CPU 可以从同一个内存空间读取指令,也可以读取或写入数据。

Key features include a single shared memory for instructions and data, a control unit to manage execution, and the fetch-decode-execute cycle. This design simplifies the hardware but can cause a bottleneck known as the 'Von Neumann bottleneck' because the CPU often waits for memory access.

关键特征包括指令和数据共用的单一存储器、管理执行的控制单元,以及取指-解码-执行周期。这种设计简化了硬件,但可能造成被称为“冯·诺依曼瓶颈”的瓶颈,因为 CPU 常常需要等待内存访问。


3. The Control Unit (CU) | 控制单元

The Control Unit is the component that directs the operation of the processor. It decodes instructions and sends control signals to coordinate the movement of data between the CPU, registers, and memory.

控制单元是指导处理器操作的部件。它解码指令并发送控制信号,以协调数据在 CPU、寄存器和内存之间的移动。

The CU does not process data itself; instead, it tells the ALU what operation to perform, manages the flow of data on buses, and controls the timing of the fetch-decode-execute cycle using a clock signal.

控制单元本身不处理数据;它告诉 ALU 执行什么操作,管理数据在总线上的流动,并使用时钟信号控制取指-解码-执行周期的时间。


4. The Arithmetic Logic Unit (ALU) | 算术逻辑单元

The ALU carries out all arithmetic and logical operations. Arithmetic operations include addition, subtraction, multiplication, and division, while logical operations involve comparisons such as AND, OR, NOT, and greater than.

ALU 执行所有算术和逻辑运算。算术运算包括加、减、乘、除,而逻辑运算涉及比较,如与、或、非和大于。

The ALU receives operands from registers, performs the requested calculation, and stores the result in the accumulator or sends it back to memory. It is essential for any data manipulation within the CPU.

ALU 从寄存器接收操作数,执行所请求的计算,并将结果存储在累加器中或送回内存。它对 CPU 内的任何数据操作都至关重要。


5. CPU Registers | CPU 寄存器

Registers are extremely fast, small storage locations inside the CPU. They hold data that is being worked on during the execution of instructions, such as memory addresses, intermediate results, and the current instruction.

寄存器是 CPU 内部速度极快的小型存储位置。它们保存在指令执行期间正在处理的数据,如内存地址、中间结果和当前指令。

The key registers you need to know for the exam are the Program Counter (PC), Memory Address Register (MAR), Memory Data Register (MDR), Current Instruction Register (CIR), and Accumulator (ACC). Each plays a specific role in the fetch-decode-execute cycle.

考试中你需要了解的关键寄存器包括:程序计数器(PC)、内存地址寄存器(MAR)、内存数据寄存器(MDR)、当前指令寄存器(CIR)和累加器(ACC)。每个都在取指-解码-执行周期中扮演特定的角色。


6. Program Counter and Memory Address Register | 程序计数器和内存地址寄存器

The Program Counter holds the memory address of the next instruction to be fetched. After the instruction is fetched, the PC increments to point to the following instruction in sequence, unless a jump or branch instruction changes its value.

程序计数器保存下一条要取出的指令的内存地址。指令被取出后,PC 会递增,指向序列中的下一条指令,除非跳转或分支指令改变了它的值。

The Memory Address Register holds the address of the memory location that the CPU is about to read from or write to. When the CPU needs to access RAM, the address is placed in the MAR and sent along the address bus.

内存地址寄存器保存 CPU 即将读取或写入的内存位置的地址。当 CPU 需要访问 RAM 时,该地址会被放入 MAR 并沿地址总线传送出去。


广告 / Sponsored

7. Memory Data Register and Current Instruction Register | 内存数据寄存器和当前指令寄存器

The Memory Data Register (also called the Memory Buffer Register) temporarily holds the data that has been read from memory or is about to be written to memory. It acts as a buffer between the CPU and main memory.

内存数据寄存器(也称为内存缓冲寄存器)临时保存刚从内存中读出的数据或即将写入内存的数据。它充当 CPU 和主存储器之间的缓冲区。

The Current Instruction Register stores the actual instruction that is currently being decoded and executed. The opcode and operand of the instruction are held here so the CU can interpret them.

当前指令寄存器存储当前正在解码和执行的指令。指令的操作码和操作数就保存在这里,以便控制单元解读它们。


8. The Accumulator | 累加器

The Accumulator is a register that temporarily stores intermediate results produced by the ALU. After an arithmetic or logical operation, the result is placed into the ACC before being transferred to a main memory location if needed.

累加器是一个暂存 ALU 产生的中间结果的寄存器。完成算术或逻辑运算后,结果先被放入累加器,然后在需要时再传送到主存储器位置。

Think of the ACC as a 'working space' register: whenever the ALU performs a calculation, the outcome lands in the accumulator. It is one of the most frequently used registers during program execution.

可以把累加器想象成一个“工作空间”寄存器:每当 ALU 执行一个计算,结果就落在累加器中。它是程序执行期间使用最频繁的寄存器之一。


9. The Fetch-Decode-Execute Cycle | 取指-解码-执行周期

The fetch-decode-execute cycle is the sequence of steps the CPU repeats continuously to run programs. In the fetch stage, the address from the PC is placed in the MAR, the instruction is read from RAM into the MDR, and copied to the CIR. The PC then increments.

取指-解码-执行周期是 CPU 不断重复以运行程序的步骤序列。在取指阶段,PC 中的地址被放入 MAR,指令从 RAM 读入 MDR,并被复制到 CIR。然后 PC 递增。

In the decode stage, the Control Unit interprets the instruction in the CIR, splitting it into opcode (the operation to do) and operand (the data or address involved). In the execute stage, the CU sends signals to carry out the operation using the ALU and registers.

在解码阶段,控制单元解读 CIR 中的指令,将其分为操作码(要执行的操作)和操作数(所涉及的数据或地址)。在执行阶段,控制单元发送信号,利用 ALU 和寄存器完成该操作。


10. Factors Affecting CPU Performance: Clock Speed | 影响 CPU 性能的因素:时钟速度

Clock speed measures how many instruction cycles the CPU can perform per second, measured in hertz (Hz). A typical modern processor might run at 3 GHz, meaning 3 billion cycles per second. The faster the clock, the more instructions can be processed in a given time.

时钟速度衡量 CPU 每秒能执行多少个指令周期,单位是赫兹(Hz)。一个典型的现代处理器可能以 3 GHz 运行,即每秒 30 亿个周期。时钟越快,在给定时间内能处理的指令就越多。

However, higher clock speeds generate more heat and require more power. Doubling the clock speed does not always double performance because other components, such as RAM, may not keep up.

然而,更高的时钟速度会产生更多热量,也需要更多电力。将时钟速度加倍并不总能使性能翻倍,因为其他部件(如 RAM)可能跟不上。


11. Factors Affecting CPU Performance: Cores and Cache | 影响 CPU 性能的因素:核心数和缓存

A core is a complete processing unit that can execute instructions independently. A quad-core processor can theoretically run four instructions at the same time, improving multitasking and speeding up parallelizable tasks.

核心是一个能独立执行指令的完整处理单元。四核处理器理论上能同时运行四条指令,改善多任务处理能力,并加快可并行化任务的速度。

Cache is a small amount of very fast memory located on or near the CPU. It stores frequently used instructions and data to reduce the time spent accessing slower RAM. Larger cache sizes generally improve performance, but also increase cost and power consumption.

缓存是位于 CPU 内部或附近的一小块极快内存。它存储常用指令和数据,以减少访问较慢 RAM 所花的时间。更大的缓存容量通常能提高性能,但也会增加成本和功耗。


12. Embedded Systems | 嵌入式系统

An embedded system is a computer system built into a larger device to perform a dedicated function. Unlike a general-purpose computer, it runs a single program stored in ROM and often has minimal user interface.

嵌入式系统是一种内置于较大设备中以执行特定功能的计算机系统。与通用计算机不同,它只运行存储在 ROM 中的单一程序,且通常只有极简的用户界面。

Examples include washing machine controllers, microwave ovens, and car engine management systems. Embedded systems usually use microcontrollers with built-in CPU, RAM, and I/O ports, consuming very little power and costing less.

例子包括洗衣机控制器、微波炉和汽车引擎管理系统。嵌入式系统通常使用微控制器,其内置 CPU、RAM 和 I/O 端口,功耗极低且成本更低。


Published by TutorHao | Computer Science Revision Series | aleveler.com

广告 / Sponsored
现货 Cambridge International AS & ALevel IT Coursebook剑桥国际IGC…
计算机 备考教辅 · 正版现货 · 与本文内容相关
查看详情 / View on Taobao参考价 ¥467.0

更多咨询请联系16621398022(同微信)

备考资讯每日更新,关注不错过
考纲变化 · 科目分析 · 学习方法
扫码关注公众号 tutorhao
在微信里长按二维码识别关注
或截图后用「扫一扫 → 相册」选择本图
公众号:tutorhao