1.1.1 Structure And Function Of The Processor Flashcards

1
Q

What is the ACC?

A

A special register to temporarily store the results of operations performed by the ALU

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

What are the 3 buses?

A

Address, control and data

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

What does the address bus do?

A

This is the bus used to transmit the memory addresses specifying where data is to be sent to or retrieved from. The width of the address bus is proportional to the number of addressable memory locations.

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

What does the data bus do?

A

This is a bi-directional bus (meaning bits can be carried in both directions). This is used for transporting data and instructions between components.

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

What 6 things does control bus do?

A

Bus request
Bus grant
Memory write
Memory read
Interrupt request
CPU Clock

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

What 4 things does the ALU perform?

A

Performs arithmetic and logical operations on data
Arithmetic operations on fixed and floating point numbers
Bitwise shift operations left and right
Boolean logic operations

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

What is cache?

A

A small and fast but expensive memory in the CPU used to store instructions and data that are accessed regularly

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

What is clock speed?

A

The frequency at which the internal clock generates signals switching between 0 and 1.

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

What does the clock speed control?

A

It controls how often instructions are executed and data is fetched

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

What is contemporary processor architecture?

A

A modern computer architecture combing elements of both von neumann and harvard architectures

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

What is the CU?

A

A part of the CPU that controls and manages the execution of inctructions.
It sends control signals to coordinate execution and controls the FDE cycle and buses.

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

What does the CIR do?

A

Holds the current instruction being executed
The contents of the MDR are copied to the CIR if its an instruction
Contains the opcode + operands

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

What is the fetch decode execute cycle?

A

The process of fetching from memory, decoding and executing the instruction

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

What are the 4 steps of the fetch phase?

A

Address from the PC is copied to the MAR Instruction held at that address is copied to MDR by the data bus
Simultaneously, the contents of the PC are increased by 1
The value held in the MDR is copied to the CIR

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

What happens in the decode phase?

A

The contents of CIR are split into operand and opcode

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

What are the advantages of the von neumann architecture?

A

Cheaper to develop as the control unit is easier to design
Programs can be optimised in size

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

What are the advantages of harvard architecture?

A

Quicker execution as data and instructions can be fetched in parallel.
Memories can be different sizes, which can make more efficient use of space

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

What is harvard architecture?

A

A computer architecture that stores data and instructions in seperate memories to allow the next instructuon to be read while data is currently being read or written to.

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

What does the MAR do?

A

This holds the address of the memory location from which data or an instruction is to be fetched or written to
Send these addresses to memory down the address bus

20
Q

What does the MDR do?

A

Used to store the data that is: temporarily read from or written to memory
Sometimes known as the memory buffer register (MBR)
All data to and from memory must travel down the data bus and pass through the MDR

21
Q

What does the PC do?

A

Holds the address of the next instruction to be executed
This could be:
The next instruction in a sequence of instructions
The address to jump to if the current instruction is a command to jump or branch - this would be copied from the current instruction register

22
Q

The PC has a very close relationship with what?

A

Has a very close relationship with the memory address register. At the start of every new FDE cycle the address held in the PC is copied to the MAR

23
Q

What is a core?

A

A core is an independent processor that is able to run its own fetch-execute cycle.

24
Q

What can a multi core processor do?

A

A computer with multiple cores can complete more than one fetch-execute cycle at any given time.

25
Q

Can a dual core processor work twice as fast?

A

A computer with dual cores can theoretically complete tasks twice as fast as a computer with a single core. However, not all programs are able to utilise multiple cores efficiently as they have not been designed to do so, so this is not always possible.

26
Q

Explain the levels of cache

A

Level 1 Cache : Very fast memory cells with a small capacity. (2-64KB)
Level 2 Cache: Relatively fast memory cell, with a medium sized capacity. (256KB-2MB)
Level 3 Cache: Much larger and slower memory cell.

27
Q

What is assembly code?

A

Assembly code uses mnemonics to represent instructions, for example ADD represents addition. This is a simplified way of representing machine code.

28
Q

What is the instruction is assembly langauge split into?

A

The instruction is divided into operand and opcode in the Current Instruction Register.

29
Q

What does the operand contain?

A

The operand contains the data or the address of the data upon which the operation is to be performed.

30
Q

What does the opcode specify?

A

The opcode specifies the type of instruction to be executed.

31
Q

What does the control bus generally do?

A

This is a bi-directional bus used to transmit control signals between internal and external components. The control bus coordinates the use of the address and data buses and provides status information between system components.

32
Q

What are buses?

A

Buses are a set of parallel wires which connect two or more components inside the CPU. There are three buses in the CPU: data bus, control bus, and address bus. These buses collectively are called the system bus.

33
Q

What is the width of the bus?

A

The width of the bus is the number of parallel wires the bus has.

34
Q

What is the width of the bus proportional to?

A

The width of the bus is directly proportional to the number of bits that can be transferred simultaneously at any given time. buses are typically 8, 16, 32 or 64 wires wide.

35
Q

What is pipelining?

A

Pipelining is the process of completing the fetch, decode, and execute cycles of three separate instructions simultaneously, holding appropriate data in a buffer in close proximity to the CPU until it’s required.
While one instruction is being executed, another can be decoded and another fetched.

36
Q

What is piplining spilt into?

A

It is separated into instruction pipelining and arithmetic pipelining.

37
Q

What is instruction pipelining?

A

Instruction pipelining is separating out the instruction into fetching, decoding, and executing.

38
Q

What is arithmetic pipelining?

A

Arithmetic pipelining is breaking down the arithmetic operations and overlapping them as they are performed.

39
Q

What is the aim of pipelining?

A

Pipelining is aimed to reduce the amount of the CPU which is kept idle.

40
Q

What does it mean in regards to a bus request with the control bus?

A

Bus request: shows that a device is requesting the use of the data bus

41
Q

What does it mean in terms of a bus grant with the control bus?

A

Bus grant: shows that the CPU has granted access to the data bus

42
Q

What does memory read mean in regards to the control bus?

A

Memory read: data is read from a specific location to be placed onto the data bus

43
Q

What does memory write mean in terms of the control bus?

A

Memory write: data is written into the addressed location using this bus

44
Q

What do interrupt requests in terms of the control bus?

A

Interrupt request: shows that a device is requesting access to the

45
Q

How does the cpu clock relate to the control bus?

A

CPU Clock: used to synchronise operations

46
Q

What 5 things does the CU do?

A

It has the following jobs: Controlling and coordinating the activities of the CPU
Managing the flow of data between the CPU and other devices
Accepting the next instruction
Decoding instructions
Storing the resulting data back in memory