1.1 Systems Architecture Flashcards

OCR J277 Systems Architecture

1
Q

The purpose of the CPU

A

The CPU is the Central Processing Unit.

It executes instructions stored in memory by repeatedly carrying out the fetch-decode-execute cycle.

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

Summarise the Fetch-Decode-Execute Cycle

A

The FDE cycle or Fetch-Execute cycle describes the basic operation of modern computers.
Instructions are loaded into main memory (RAM) before the processor starts running the program.
The instructions are FETCHED from memory.
Once fetched, the instructions are DECODED by the Control Unit within the CPU, to decide what to do.
Then the instructions are EXECUTED.
Every operation is carried out within the FDE cycle is regulated by the cycle of the CPU clock.

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

Summarise the Fetch phase of the FDE Cycle

A
  1. Each instruction is FETCHED from main memory (RAM) in order.
  2. Instructions are put in to the appropriate registers.
  3. The Control Unit (CU) accesses instructions for the next stages.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Summarise the Decode phase of the FDE Cycle.

A

Instructions (in binary) need to be decoded before they can be run.
The Control Unit (CU) DECODES them to work out what the other components need to do.

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

Summarise the Execute phase of the FDE Cycle.

A

The Control Unit (CU) tells the other components what to do in order to carry out the instructions.
The cycle repeats.

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

Common CPU Components

A

ALU = Arithmetic Logic Unit
CU = Control Unit
Cache
Registers

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

What is the ALU and its function?

A
ALU = Arithmetic Logic Unit
Carries out:
1. arithmetic calculations: + - * / (binary shifts)
2. logical operations: AND OR NOT
3. comparisons: < > ==
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the CU and its function?

A

CU = Control Unit
Simple: Co-ordinates all of the CPU’s actions in the FDE Cycle.
Medium: Organises the execution of instructions, including managing the other components in the CPU.

Detailed:

  1. Ensures instructions executed in correct order
  2. Decode every instruction the processor will execute
  3. Send and receive signals to and from other components
  4. Check that signals have been delivered successfully
  5. Make sure data goes to the correct place at the correct time.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe the function of Cache

A

Cache is a small amount of high-speed RAM built directly within the processor.
It is used to temporarily hold data and instructions that the processor is likely to reuse.
This allows for faster processing as the processor does not have to wait for the data and instructions to be fetched from RAM.

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

Describe the function of registers.

A

Registers are even smaller and faster than cache.
Memory locations within the CPU.
Temporarily store memory addresses, instructions or data
32 bits / 64 bits.

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

Von Neumann Architecture

A

John von Neumann developed the stored program computer.
In a Von Neumann computer, both programs and data are stored in memory.
Von Neumann architecture consists of:
1. a processor
2. a memory unit that can communicate directly with the processor
3. connections for input and output devices
4. secondary storage for saving/backing up files

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

What is the function of MAR?

A

MAR = Memory Address Register
Found within the Control Unit (CU)
Temporarily holds the address (location in memory) of the current instruction or piece of data to be fetched/stored.

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

What is the function of MDR?

A

MDR = Memory Data Register
Found in the ALU.
Temporarily holds the data or program instruction when it is fetched from memory
or holds data that is waiting to be written to memory.

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

What is the function of the Program Counter?

A

PC = Program Counter
Found in the Control Unit (CU)
Register which holds the memory address of the next instruction to be processed.

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

What is the function of the Accumulator?

A

Found in the ALU.

Register in which the results of operations carried out in the ALU are stored.

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