1.1.1 Architecture of CPU Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a CPU?

A

The CPU or Central processing unit is the ‘brains’ of a computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of a CPU?

A

It’s main purpose is to carry out the FETCH-DECODE-EXECUTE cycle

Fetch information from main memory
Decode instructions - interprets
Executes instructions - performs the instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What arr the CPU components?

A

Cache, CU and ALU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the cache?

A

Memory that provides fast access to frequently used instructions and data without having to go back to the main memory (RAM)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the CU (Control Units?)

A

Decodes instructions and sends signals to control how data moves around CPU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the ALU ( Arithmetic Logic Unit)?

A

This is where all arithmetic (add, subtract, multiply, divide) and logical (AND,OR,NOT) operations are carried out

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is registers?

A

A small amount of memory each with their own function - introduced in the Von Nuemann Architecture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the 4 registers?

A

MAR,MDR,PC and ACC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the MAR (Memory Address Register)?

A

Stores the memory address where data is to be stored or fetched

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the MDR (Memory Data Register)?

A

Holds data fetched from or to be written to the main memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the PC (Program counter)?

A

Holds the addresses of the next instructions, increments (goes up) by 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the ACC (Accumulator)?

A

Holds the results of calculations from ALU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are examples of input, output and storage?

A

Input - keyboard, mouse, microphones, web cam, controller
Output - speakers, monitor, headphones
Storage - disc, hard drive, solid state drive (SSD)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does FETCH do?

A
  • The program counter is checked, as it holds the address of the next instruction to be executed
  • The Memory Address Register (MAR) uses this address to fetch the required instruction from main memory (RAM) and bring it into the CPU
  • The address in the program counter is incremented (its value is increased by one) to point at the next instruction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does DECODE do?

A
  • Now the instruction is in the CPU, the Control Unite (CU) decodes it - i.e, the CU works out what needs to be done
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does EXECUTE do?

A
  • What happens during the execute stage depends on the instruction - the CPU may:
  • Fetch data from memory to be used in a calculation
  • Jump to another instruction that is out of sequence
  • Write data held in the accumulator back into main memory (RAM)