Registers
CPU
FDE Cycle
CPU Performance
100

This register holds the instruction that is currently being executed by the CPU.

CIR (Current Instruction Register)

100

What's the purpose of the CPU?

The purpose of the CPU is to process data and instructions by constantly repeating the fetch - decode - execute cycle.


100

What is an F-D-E cycle?

The essential idea of the F-D-E cycle is that instructions are fetched from RAM, to be decoded (understood) and executed (processed) by the CPU.

100

What 3 main factors affect the performance of the CPU?

Cache Memory, Clock Speed, Number of Cores

200

This register holds the address of the location in memory where data or instruction can be retrieved or stored.

MAR (Memory Address Register)

200

What are the 4 main components of the CPU?

ALU, CU, Cache, Registers

200

Where is the instruction in the MDR copied into?

The instruction in the MDR is copied into the Current Instruction Register (CIR).

200

How does cache memory improve performance?

Cache memory is closer to the CPU than RAM, meaning that it can provide data and instructions to the CPU at a faster rate.

A computer with more cache memory (e.g. 8GB instead of 4GB) should have a higher performance because repeatedly used instructions can be stored and accessed faster.

300

This register stores information that is being sent to or received from the memory along the bidirectional data bus.

MDR (Memory Address Register)

300

What's the purpose of the Cache?

Cache memory is used to temporarily store data that is frequently accessed.

300

Where is any result of an execution stored in the CPU?

Any result of an execution is stored in the register.

300

What is clock speed?

Clock speed is the measure of how quickly a CPU can process instructions. A typical desktop computer might have a clock speed of 3.5 GHz. This means it can perform 3.5 billion FDE cycles a second.

400

This register is connected to the internal address and is used to store the address to access memory.

PC (Program Counter)

400

What changed with the Von Neumann architecture?

This architecture is named after John von Neumann who developed the concept of a stored program computer. Before being able to store programs in memory, instructions had to be manually input by a human.

A computer with Von Neumann architecture stores both program instructions and data in the same memory (RAM).

400

Say one thing that happens before the CPU checks the address in RAM which matches the address held in the MAR

The Program Counter (PC) register displays the address in RAM of the next instruction to be processed.

This value is copied into the Memory Address Register (MAR).

The PC register is increased by 1.

This prepares the CPU for the next instruction to be fetched.

400

Why might having more cores not always result in better performance?

If one core is waiting for another core to finish processing, performance may not increase at all.

Some software is not written to make use of multiple cores, so it will not run any quicker on a multi-core computer.

500

This register is used to store data that is being worked on by the ALU and is the key register in the data section of the CPU.

Accumulator

500

When was the Von Neumann architecture invented?

In the 1940s

500

What happens after the PC register displays the address in RAM of the next instruction to be processed and that is copied into the Memory Address Register (MAR).

The PC register is increased by 1.

500

Why don't all computers have much more cache since it's so fast and efficient?

Cache memory is costly, so most computers only have a small amount.