openskills.info
Course Preview

CPU Architecture

CPU architecture covers the internal design of processors: instruction pipelines, execution units, branch predictors, caches, and the microarchitectural features that determine how fast instructions complete. It explains why the same code runs at different speeds on different chips.

itComputer architecture and hardware

CPU Architecture

A central processing unit, or CPU, executes the machine instructions that make software run. CPU architecture gives you a working model of that process. It connects an instruction set, a processor core, memory, and the operating system.

You do not need to design silicon to use this model. It helps you read performance data, understand assembly, choose hardware, and explain why two compatible processors behave differently.

Architecture is a contract

An instruction set architecture, or ISA, defines the behavior software can observe. It specifies instructions, registers, data types, control flow, memory behavior, and events such as exceptions.

A microarchitecture is a particular implementation of an ISA. It defines internal choices such as pipeline depth, execution units, cache organization, and instruction timing.

The distinction is practical:

  • The ISA says what a correct instruction does.
  • The microarchitecture decides how to perform that instruction.

Two processors can run the same machine code while using different internal designs. Arm documents Cortex-A53 and Cortex-A72 as different microarchitectures implementing the same architecture. RISC-V also separates its software-visible ISA from implementation details.

Follow one instruction

A simple processor appears to repeat a short cycle:

  1. Fetch an instruction from the address in the program counter.
  2. Decode the instruction into an operation and operands.
  3. Read source registers or request data from memory.
  4. Execute the operation.
  5. Write the result.
  6. Select the next instruction address.

This sequence explains the dependencies. It is not a literal schedule for every CPU. Modern cores overlap these steps across many instructions.

The program counter identifies an instruction address. A sequential instruction advances it. A branch, jump, call, return, exception, or interrupt can choose another address.

Continue the course

This section is part of the paid course.

See pricing to subscribe, or log in if you already have access.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources