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

cycle, CPU, pipeline, RISC

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

20 Terms

1
New cards

What is an Assembly language

A low-level programming language that acts as a bridge between the code we write and the machine code that a computer understands

2
New cards

Why use assembly language

gives programmers direct control of their CPU to optimize how the machine performs tasks

3
New cards

Instructions component

tells the computer what to do

4
New cards

Operands component

Specifies data that the instruction will be working on

5
New cards

Mnemonics component

Readable abbreviation for humans (ex. MOV, SUB, ADD)

6
New cards

Limitations of assembly language

complex, not portable, lacks features

7
New cards

What is a pipeline hazard?

a situation where a program is forced to a halt/ forcing stalls/ delays

8
New cards

types of pipeline hazard

Structural hazard ,Data Hazard (Read-after write, Write-after-read, Write-after-write), Control hazard

9
New cards

Explain Structural Hazard

multiple instruction requires the same hardware resource. Forced to execute serially instead of parallel.

10
New cards

Explain Data Hazard (R-A-W, W-A-R, W-A-W)

RAW - Instruction tries to read data before its written

WAR - Write happens after a read

WAW - two write to the same register (order matters)

11
New cards

Core components of a CPU

Control unit (CU) for direct operations, Arithmetic logic unit (ALU) for calculations, and Registers for small and fast storage

12
New cards

What is a bus?

Internal pathways that transfer data and control signals between components.

13
New cards

What is a clock?

Generates electrical pulses to synchronize all CPU operations, determining its speed (measured in GHz)

14
New cards

How Cache works in the CPU

a small, fast memory for CPU to store frequently used data in order to reduce trips to slower RAM

15
New cards

What is CISC in computing?

(Complex Instruction Set Computing) - A CPU design that uses powerful, multi-step instructions to preform fewer lines of code. A huge contrast between RISC but favors the hardware more

16
New cards

What is RISC in computing?

(Reduced Instruction Set Computing) - A CPU design that uses simple, single-cycle instructions that requires more lines but simplifying hardware

17
New cards

CISC is mainly used in…?

Desktop PC’s and laptops through Von Neumann Architecture

18
New cards

RISC is mainly used in…?

mobile devices such as smartphones, tablets, gaming consoles.

19
New cards

CISC Instruction set range

Ranging only up to 100 instructions

20
New cards

RISC instruction set range

Ranging up to 100 to 250 instructions