1.1.1 Architecture of the CPU

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

1/31

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

32 Terms

1
New cards

What is the purpose of the Central Processing Unit (CPU)?

The CPU executes instructions in order to run programs.

2
New cards

What does the Arithmetic Logic Unit (ALU) do?

Performs arithmetic calculations, logical operations and shift operations.

3
New cards

What are examples of the arithmetic calculations the ALU does?

Addition, Subtraction, Multiplication and Division

4
New cards

What are examples of the logical operations the ALU carries out?

AND, OR, NOT

5
New cards

What does the Control Unit (CU) do?

The control unit organises the execution of instructions, including managing the other components in the processor.

6
New cards

What tasks if the CU responsible for?

  • Ensures the execution of instructions in the correct sequence

  • Decodes every instruction that the processor will execute

  • Sends and receives control signals to and from other components

  • Checks that signals have been delivered successfully

  • Makes sure that data goes to the correct place at the correct time

7
New cards

The control unit also contains the ______. This is a tiny component that controls the rate at which instructions are __________ in the processor.

clock, executed

8
New cards

What is cache?

A small, fast memory device located on the CPU that stores frequently used data and instructions.

9
New cards

What are registers?

A very fast memory location within the CPU used in the execution of instructions.

10
New cards

What are the five special-purpose registers?

Current Instruction Register (CIR), Memory Address Register (MAR), Memory Data Register (MDR), Program Counter (PC) and Accumulator (ACC)

11
New cards

What is the function of the Current Instruction Register (CIR)?

Holds the current instruction that the processor is executing.

12
New cards

What is the function of the Memory Address Register (MAR)?

Temporarily stores the address of the data to be fetched from or the address where the data is to be stored.

13
New cards

What is the function of the Memory Data Register (MDR)?

Temporarily holds the data that is read from or written to the main memory.

14
New cards

What is the function of the Program Counter (PC)?

Stores the address of the next instruction to be fetched from memory.

15
New cards

The Program Counter _________ during each _____-______ cycle.

increments, fetch, execute

16
New cards

What is the function of the Accumulator (ACC)?

Stores the results of calculations or operations carried out by the Arithmetic Logic Unit (ALU). Also temporarily holds data being processed.

17
New cards

Give the stages of the fetch-decode-execute cycle.

  • The address of the next instruction is transferred from the Program Counter to the MAR.

  • The instruction is fetched from memory and copied into the MDR.

  • The Program Counter is incremented.

  • The instruction is decoded by the CU.

  • The decoded instruction is then executed by the CPU or ALU.

  • The process repeats.

18
New cards

What happens in the ‘fetch’ stage of the fetch-decode-execute cycle?

Each instruction is fetched from memory (in order), and put into the appropriate registers. The control unit can then access the instruction for the next stages.

19
New cards

What happens in the ‘decode’ stage of the fetch-decode-execute cycle?

The instructions (which are received in binary) need to be decoded before they can be run. This is the process the control unit uses to work out what the other components need to do.

20
New cards

What happens in the ‘execute’ stage of the fetch-decode-execute cycle?

The control unit will tell the other components what they need to do in order for the instruction to work.

21
New cards

What is Von Neumann architecture?

A system where instructions and data share the same memory and bus.

22
New cards

What does the Von Neumann architecture consist of?

  • a processor

  • a memory unit that can communicate directly with the processor

  • connections for input and output devices

  • secondary storage for saving/backing up data

<ul><li><p>a processor</p></li><li><p>a memory unit that can communicate directly with the processor</p></li><li><p>connections for input and output devices</p></li><li><p>secondary storage for saving/backing up data</p></li></ul><p></p>
23
New cards

The processor can access the ____________ and _____ in the _____ memory as required to _______ the program. It does this by using dedicated connections called _______.

instructions, data, main, execute, buses

24
New cards

What is an address bus used to do?

An address bus is used to identify the addressed location.

25
New cards

What is a data bus used to do?

A data bus is used to transfer the contents to/from that location.

26
New cards

What is the control bus used to do?

The control bus is used to synchronise and control operations.

27
New cards

The _____ address and data buses are used in the process of ________ instructions and ____ between _____ ________ and the ___________.

same, transferring, data, main memory, processor

28
New cards
<p>Complete the table by writing the missing definition or name of each of the common CPU components and registers. (A)</p>

Complete the table by writing the missing definition or name of each of the common CPU components and registers. (A)

Program Counter (PC)

29
New cards
<p>Complete the table by writing the missing definition or name of each of the common CPU components and registers. (B)</p>

Complete the table by writing the missing definition or name of each of the common CPU components and registers. (B)

The control unit organises the execution of instructions, including managing the other components in the processor.

30
New cards
<p>Complete the table by writing the missing definition or name of each of the common CPU components and registers. (C)</p>

Complete the table by writing the missing definition or name of each of the common CPU components and registers. (C)

Memory Address Register (MAR)

31
New cards
<p>Complete the table by writing the missing definition or name of each of the common CPU components and registers. (D)</p>

Complete the table by writing the missing definition or name of each of the common CPU components and registers. (D)

Arithmetic Logic Unit (ALU)

32
New cards

Identify the first two events that take place during the fetch-execute cycle.

  • An instruction is fetched from memory

  • The instruction is then decoded