Common CPU components and their functions

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

1/8

flashcard set

Earn XP

Description and Tags

:)

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

9 Terms

1
New cards

what are the 4 main components of the CPU?

control unit (CU), arithmetic logic unit (ALU), registers and cache

2
New cards

what are the functions of the control unit (CU)

  1. it fetches, decodes and executes instructions

  2. it issues control signals that control hardware

  3. it moves data around the system

3
New cards

what are two main functions of the arithmetic logic unit (ALU)

  1. it performs arithmetic and logical operations. The ALU is where calculations are done and where decisions are made

  2. It acts as a gateway between primary memory and secondary storage. Data transferred between them passes through the ALU.

4
New cards

what is a register and what does it do?

A very fast memory location in the CPU and they store data required for an instruction or the result of executing an instruction

5
New cards

what are the four registers in the CPU?

program counter (PC), memory address register (MAR), memory data register (MDR), and accumulator (ACC).

6
New cards

what does the program counter do?

holds the address of the next instruction to be executed. it is incremented by 1 as soon as that instruction is fetched

7
New cards

what does the MAR do?

holds the address of the current instruction, and then the memory address of any data that the instruction uses, so that these can be fetched from memory

8
New cards

what does the MDR do?

holds the actual instruction fetched from memory, and then the data that has been fetched from, or written to memory

9
New cards

what does the accumulator do?

holds the results from the ALU after an instruction is executed before it is transferred to main memory