CPU & the Fetch-Execute Cycle#
Lecture#
![]() |
CPU & the Fetch-Execute Cycle |
Key Concepts#
Input and Output (I/O)
I/O devices provide inputs to the system and enable the computer to provide output
Input device examples: keyboard, mouse, network card, etc.
Output device examples: monitor, display, printer, etc.
Processor (or processing unit)
“In computing, a processor or processing unit is an electronic circuit which performs operations on some external data source, usually memory or some other data stream. The term is frequently used to refer to the central processor (central processing unit)” (Wikipedia)
CPU
“A central processing unit (CPU), also called a central processor or main processor, is the electronic circuitry within a computer that executes instructions that make up a computer program. The CPU performs basic arithmetic, logic, controlling, and input/output (I/O) operations specified by the instructions…Principal components of a CPU include the arithmetic logic unit (ALU) that performs arithmetic and logic operations, processor registers that supply operands to the ALU and store the results of ALU operations, and a control unit that orchestrates the fetching (from memory) and execution of instructions by directing the coordinated operations of the ALU, registers and other components” (Wikipedia)
Bus
“In computer architecture, a bus…is a communication system that transfers data between components inside a computer, or between computers. This expression covers all related hardware components (wire, optical fiber, etc.) and software” (Wikipedia)
Instruction Register (IR)
Register with the instruction that is currently being executed
Fetch-Execute Cycle
Computer processing cycle that includes four main steps:
Fetch instruction
Decode instruction
Get data (if needed)
Execute instruction
Comprehension Check#
![]() |
CPU & Fetch-Execute Comprehension Check |
Application#
Q3: Describe the three main steps of the fetch-execute cycle in your own words.

