1.1.1 Structure and Function of the Processor

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

1/30

flashcard set

Earn XP

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

31 Terms

1
New cards

Arithmetic and Logic Unit

Completes all arithmetical and logical operations.

2
New cards

Control Unit

Directs the operations of the CPU.

3
New cards

Registers

Small memory cells that operate at very high speeds

4
New cards

Purpose of the Program Counter

Holds the address of the next instruction to be executed.

5
New cards

Purpose of the Accumulator

Stores the results from calculations in the ALU

6
New cards

Purpose of the Memory Address Register

Holds the address of the location that is to be read from or written to

7
New cards

Purpose of the Memory Data Register

Temporarily stores the data that has been read or that needs to be written

8
New cards

Purpose of the Current Instruction Register

Holds the current instruction being executed, divided up into operand and opcode

9
New cards

Buses definition

Set of parallel wires which connect two or more components inside the CPU

10
New cards

Data bus definition

Bi-directional bus used for transporting data and instructions between components

11
New cards

Address bus definition

Bus used to transmit the memory addresses specifying where data is to be sent or retrieved from

12
New cards

Control bus definition

Bi-directional bus used to transmit control signals between internal and external components.

13
New cards

What do the control signals include?

Bus request

Bus grant

Memory write

Memory read

Interrupt request

Clock

14
New cards

What is assembly language?

Uses mnemonics to represent instructions. This is a simplified way of representing machine code

15
New cards

What is assembly language divided into?

Operand: contains the data or the address of the data

Opcode: specifies the type of instruction to be executed

16
New cards

What is pipelining?

The process of completing the fetch, decode, and execute cycles of three separate instructions simultaneously

17
New cards

What is the purpose of pipelining?

To reduce the amount of CPU which is kept idle

18
New cards

What is the fetch-decode-execute cycle?

The sequence of operations that are completed in order to execute an instruction

19
New cards

What happens during the fetch phase?

Address from the PC is copied to the MAR

Instruction held at that address is copied to the MDR

Simultaneously, the contents of the PC are incremented

The contents of the MDR is copied to the CIR

20
New cards

What happens in the decode phase?

The contents of the CIR are split into operand and opcode

21
New cards

What happens in the execute phase?

The decoded instruction is executed

22
New cards

What are the three factors affecting CPU performance?

Clock speed

Number of cores

Cache memory

23
New cards

How does the clock speed affect CPU performance?

It's the time taken for one clock cycle to complete. The faster the clock speed, the more instructions can be carried out in the same time frame

24
New cards

How does the number of cores affect CPU performance?

A core is an independent processor that runs it's own fetch-execute cycle. More cores means more cycles can be completed and instructions executed at once

25
New cards

How does the cache memory affect CPU performance?

Cache is the CPU's onboard memory that stores frequently used instructions. It's much faster than regular memory so larger cache memory means more instructions can be accessed quicker

26
New cards

What are the two types of computer architecture?

Von Neumann

Harvard

27
New cards

What is von Neumann architecture?

Architecture that includes the basic components of the computer and processor in which a shared memory and shared data bus is used for both data and instructions

28
New cards

What is harvard architecture?

Architecture that has physically separate memories for instructions and data

29
New cards

Advantages of von Neumann

Cheaper to develop

Programs can be optimised in size

30
New cards

Advantages of harvard

Quicker execution as data and instructions can be fetched in parallel

Memories can be different sizes which makes efficient use of space

Avoids the issue of bottlenecking

31
New cards

What is contemporary processing?

Uses a combination of both Harvard and Von Neumann architecture. Von Neumann is used when working with data and instructions in main memory, but uses Harvard to divide the cache into instruction cache and data cache