Processors, Architectures and Memory

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/51

flashcard set

Earn XP

Description and Tags

Flashcards about Processors and Memory, Von Neumann Architecture, RISC/CISC, Processor Commands, Pipelining and Memory Types

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

52 Terms

1
New cards

Who proposed the Von Neumann architecture and when?

John von Neumann in 1945

2
New cards

What is the stored-program concept in the Von Neumann architecture?

Instructions and data are stored in the same memory.

3
New cards

What are the three major units of the Von Neumann architecture?

Central Processing Unit (CPU), Main Memory Unit, Input/Output Devices

4
New cards

What are the main components of the CPU?

Control Unit (CU), Arithmetic and Logic Unit (ALU), Registers

5
New cards

What is the function of the Control Unit (CU)?

Directs processor control signals and manages the flow of data between components. Fetches, decodes, and executes program instructions.

6
New cards

What is the function of the Arithmetic and Logic Unit (ALU)?

Handles arithmetic calculations and logical operations.

7
New cards

What are the key types of registers in the CPU?

Accumulator (AC), Program Counter (PC), Memory Address Register (MAR), Memory Data Register (MDR), Current Instruction Register (CIR), Instruction Buffer Register (IBR)

8
New cards

Where are program instructions and data stored?

Main Memory

9
New cards

What are the components of the main memory?

Instruction Memory and Data Memory

10
New cards

Name the three types of buses.

Data Bus, Address Bus, Control Bus

11
New cards

What are the steps of the Von Neumann Execution Cycle?

Fetch, Decode, Execute, Store, Repeat

12
New cards

What is the Von Neumann bottleneck?

Shared memory access for both instructions and data, leading to contention.

13
New cards

What is the main difference between the Von Neumann and Harvard architectures in terms of memory?

Von Neumann uses single memory for both instructions and data, while Harvard uses separate memories.

14
New cards

What is RISC?

Reduced Instruction Set Computing: simplifies hardware by using a few basic steps

15
New cards

What is one advantage of RISC?

Simpler instructions, Faster execution, Lower power consumption, Highly pipelined

16
New cards

What is CISC?

Complex Instruction Set Computing: a single instruction can perform multiple operations

17
New cards

What is one advantage of CISC?

Reduced code size, More memory efficient, Widely used

18
New cards

What is the focus of RISC?

Software

19
New cards

What is the focus of CISC?

Hardware

20
New cards

What are processor commands?

the operations that the CPU performs

21
New cards

What category do MOV, PUSH, and POP instructions belong to?

Data Transfer Instructions

22
New cards

What category do ADD, SUB, IMUL, and IDIV instructions belong to?

Arithmetic Instructions

23
New cards

What category do AND, OR, XOR, and NOT instructions belong to?

Logical Instructions

24
New cards

What category do JMP, JE/JZ, JNE/JNZ, CALL, and RET instructions belong to?

Control Transfer Instructions

25
New cards

What is the purpose of CMP and TEST instructions?

Comparison Instructions

26
New cards

What is the purpose of SHL/SHR and ROL/ROR instructions?

Shift and Rotate Instructions

27
New cards

What is the purpose of MOVSB, LODSB, and STOSB instructions?

String Manipulation Instructions

28
New cards

What are some examples of special instructions?

HLT, NOP, INT n, CLI, STI

29
New cards

What is the function of general-purpose registers?

Used for arithmetic, data transfer, and logic operations.

30
New cards

What are the main general-purpose registers?

EAX (Accumulator), EBX (Base), ECX (Counter), EDX (Data)

31
New cards

What is the function of segment registers?

Hold segment addresses for memory management in real mode.

32
New cards

What are the main segment registers?

CS (Code Segment), DS (Data Segment), SS (Stack Segment), ES, FS, GS

33
New cards

What is the function of index and pointer registers?

Used for memory addressing and string manipulation.

34
New cards

What are the main index and pointer registers?

ESI (Source Index), EDI (Destination Index), ESP (Stack Pointer), EBP (Base Pointer)

35
New cards

What is the function of control registers?

Used to control CPU operations.

36
New cards

What is the significance of EIP?

Holds the address of the next instruction to be executed.

37
New cards

What is pipelining?

a technique used in processors to improve performance by breaking down the execution of instructions into stages that can operate in parallel

38
New cards

What are five stages in a basic pipeline?

Instruction Fetch (IF), Instruction Decode (ID), Instruction Execute (EX), Memory Access (MEM), Write Back (WB)

39
New cards

What is throughput?

The number of instructions completed per unit time, indicating the overall processing speed.

40
New cards

What is latency?

The time taken for a single instruction to complete, from fetch to write-back.

41
New cards

What are pipeline hazards?

Data hazards (dependencies between instructions), control hazards (branch instructions), and structural hazards (insufficient hardware resources) can cause delays.

42
New cards

What is a superscalar architecture?

A superscalar processor builds on pipelining by allowing multiple instructions to be processed simultaneously in different pipelines.

43
New cards

What is Instruction-Level Parallelism (ILP)?

Allows multiple instructions to be fetched, decoded, and executed concurrently.

44
New cards

Name the three types of physical memory construction.

Semiconductor, Magnetic, Optical

45
New cards

Name the two types of memory organization.

Volatile, Non-Volatile

46
New cards

Name four types of memory access.

Random, Sequential, Direct, Associative

47
New cards

Name the three speed classifications of memory.

High, Medium, Low

48
New cards

Name the three access control classifications of memory.

Read-Only, Read-Write, Write-Once

49
New cards

Name the two durability classifications of memory.

Durable, Ephemeral

50
New cards

Name the three classifications of memory by usage.

Primary, Secondary, Tertiary

51
New cards

What are the RAM sub-categories?

Dynamic RAM (DRAM), Static RAM (SRAM)

52
New cards

What are the ROM sub-categories?

PROM, EPROM, EEPROM, Flash Memory