CPU Structure & Instruction Flashcards

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

20 Terms

1
New cards

What role Arithmetic Logic Unit (ALU) in CPU ?

The ALU performs all arithmetic and logical operations, such as addition, subtraction, and comparisons.

2
New cards

What is the Control Unit (CU) in a CPU?

The CU directs and controls the operations of the CPU by managing data flow and coordinating different components.

3
New cards

What is the function of the Memory Unit (MU) in a CPU?

The MU stores and retrieves the data required for execution, such as instructions and operands.

4
New cards

What is a single-core processor?

A processor with one core that can handle one operation at a time, less efficient for multitasking.

5
New cards

What is the difference between dual-core and quad-core processors?

Dual-core processors have two cores, while quad-core processors have four, offering better multitasking and performance.

6
New cards

What are the stages of the instruction cycle in CPU operation?

The stages are Fetch, Decode, Execute, Memory Access, and Registry Write-Back.

7
New cards

What is pipelining in CPU architecture?

Pipelining allows the CPU to execute multiple instructions in parallel by overlapping stages of instruction processing.

8
New cards

What is the purpose of branch prediction in pipelined CPUs?

It predicts the direction of branches in instructions to avoid pipeline stalls, improving execution efficiency.

9
New cards

What is an example of a pipeline hazard?

Data hazards occur when an instruction depends on the result of a previous one still being processed.

10
New cards

What does instruction cache miss refer to?

A situation where the CPU fails to find the required instruction in its cache, slowing down execution.

11
New cards

What is Instruction-Level Parallelism (ILP)?

ILP allows multiple instructions to be processed simultaneously, but it has limitations beyond which adding hardware doesn’t significantly speed up execution.

12
New cards

What is RISC (Reduced Instruction Set Computer)?

RISC is a CPU design that uses a small, simple set of instructions, typically operating on data in registers.

13
New cards

How does pipelining improve CPU efficiency?

It overlaps the stages of different instructions, allowing the CPU to process instructions faster by using resources efficiently.

14
New cards

What is a dual-stage instruction pipeline in RISC?

It divides instruction execution into fetch and execute stages to allow parallel processing of instructions.

15
New cards

What are pipeline stages?

These are different processing steps in the pipeline, such as Fetch, Decode, Execute, etc., that run in parallel for different instructions.

16
New cards

What is a six-stage CPU instruction pipeline?

It divides instruction execution into six stages, including fetch, decode, and execute, to optimize processing.

17
New cards

What are structural hazards in pipelined CPUs?

These occur when two instructions require the same hardware resource at the same time, causing delays.

18
New cards

How does pipelining affect task execution time?

While individual tasks may not speed up, pipelining reduces the average task execution time by processing multiple instructions in parallel.

19
New cards

What is a control hazard in CPU pipelining?

It occurs when the pipeline must wait for the outcome of a branch instruction to know which path to take next.

20
New cards

What is the difference between RISC and CISC (Complex Instruction Set Computer)?

RISC uses a small, simple set of instructions, while CISC uses a more complex set that can perform multiple operations in a single instruction.