CPU Flashcards

(16 cards)

1
Q

Arithmetic logic unit (ALU)

A

performs arithmetic, logical, and bitwise
operations on integer binary numbers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Control unit (CU)

A

orchestrates the fetching (from memory), decoding and
execution (of instructions) by directing the coordinated operations of the
ALU, registers, and other components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

CPU

A

principal part of any digital computer system, generally composed of the main memory,
control unit, and arithmetic-logic unit and processes program instructions for output via
the instruction cycle.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Registers

A

small, fast storage locations inside the CPU used to hold data, addresses, or instructions that the CPU is actively working with.

They are the fastest memory in a computer, even faster than cache or RAM, but very limited in size (usually just a few dozen total).

There are different types of registers, each with a specific job, such as:
Holding data to be processed
Keeping the address of the next instruction
Storing the results of operations
Managing program execution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Accumulator

A

most frequently used register used to store data taken from memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Memory Address Register (MAR)

A

The MAR holds the location (or address) in memory where the CPU wants to look for data or store data.

You can think of it like writing down the street address of a house the CPU wants to visit.

It’s the “where” part of memory access.

🏠 “I want to go to memory address 105 to grab some data” → the CPU writes 105 in the MAR.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Memory Data Register (MDR)

A

The MDR holds the actual data being moved to or from memory.

If the CPU is reading, MDR temporarily stores the data coming in.

If the CPU is writing, MDR holds the data going out.

📦 Think of MDR as the box used to carry stuff to or from a memory shelf. The MAR gives the shelf number, the MDR carries the item.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Program Counter (PC)

A

The PC keeps track of where the CPU is in the program.

It stores the address of the next instruction the CPU should run.

After each instruction is finished, the PC moves to the next one.

📍 Think of the PC as a bookmark in your code — it always points to the next line to read.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Instruction Register (IR)

A

The IR holds the actual instruction the CPU is about to carry out.

When the CPU reads an instruction from memory (using the PC), it stores that instruction in the IR.

The CPU then executes the instruction from the IR, while the PC moves ahead to the next one.

🛠️ If the PC is your bookmark, the IR is the page you’re reading right now.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Pipelining

A

a technique that allows a CPU to work on multiple instructions at the same time, by breaking the work into stages and overlapping them.

Instead of completing one instruction per clock cycle, pipelining lets the CPU start a new instruction every cycle, while other instructions are already in progress.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

32 vs 64 Architecture

A

32 compatibles with 32 or 64. 64 only compatible for 64
○ 32 process up to 4GB RAM. 64 process up to 16 Exabytes of RAM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

64- or 32-bit data path

A

refers to the number of bits transferred per clock cycle (more is
faster)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

CISC (Complex Instruction Set Computing)

A

CISC is a type of CPU design where the processor has a large number of complex instructions — some instructions can do multiple things at once (like load, calculate, and store in a single command).

🔑 Key Features of CISC:
Many instructions, often hundreds

Some instructions take multiple clock cycles

Designed to minimize the number of instructions needed to write a program

More hardware complexity, less software complexity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

x86

A

x86 is a family of CISC processors developed by Intel (and AMD).
It originally referred to Intel’s 8086 CPU series, but now x86 usually refers to:

32-bit and 64-bit CPUs based on that architecture

Operating systems and software that run on these processors

So, x86 = real-world CISC used in most desktop/laptop computers today.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

RISC - Reduced Instruction Set Computer

A

RISC is a CPU design approach that uses a small, highly optimized set of simple instructions, each designed to execute very quickly — ideally in one clock cycle.

The goal of RISC is to simplify the hardware so that instructions are:

Fast to execute

Easy to decode

Easier to pipeline and optimize

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

ARM - Advanced RISC Machines

A

is a family of CPU architectures based on the RISC design philosophy.

It uses simple, power-efficient instructions (RISC = Reduced Instruction Set Computer)

Originally designed for low-power mobile devices

Now also used in desktops, laptops, servers, embedded systems, and IoT

ARM doesn’t manufacture chips — it licenses its architecture to companies like Apple, Qualcomm, Samsung, and NVIDIA, who design their own custom chips.