Chapter 1 - Processor components Flashcards

1
Q

What is the purpose of the CPU?

1 Mark

A

» Processes instructions using the FDE cycle

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

What is the purpose of the control unit?

4 Marks

A

» Controls the flow of bits inside the CPU between the registers
» Decodes instructions
» Controls the execution of instructions
» Maintains synchronisaton

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

What is a bus?

1 Mark

A

» Set of parallel wires/lines connecting 2 or more components of a computer in which data can be sent around the computer

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

What is an address bus?

1 Mark

A

» A bus used to access a particular main memory location

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

What is a data bus?

1 Mark

A

» Returns the data of the location to the CPU

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

What is a control bus?

1 Mark

A

» A bus which carries control signals, and also the clock’s pulses

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

What is a system bus?

1 Mark

A

» The three buses: control, signal and address

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

What is a shared transmission medium?

A

» Each bus has one of these, and it means only the device can transmit along a bus at any one time

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

What is bi-directional ?

1 Mark

A

» Can travel both forwards and backwards

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

What buses travel in both directions?

2 Mark

A

» Data bus
» Control bus

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

What is unidirectional?

1 Mark

A

» Data flows in one direction only

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

Which bus travels in one direction only?

1 Mark

A

» Address bus

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

Where does the address bus travel to?

A

» To memory or an I/O controller

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

What is an I/O controller?

1 Mark

A

» A series of micro ships which helps in the communication of data between the CPU and motherboard

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

What does I/O stand for?

A

» Input and output devices

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

What is the purposes of control lines in a control bus?

A

» To ensure that access to and use of that data and address buses by the different components of system does not lead to conflict

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

How can the components of the system buses lead to conflict?

A

» As data and address buses are shared by all components, control lines are needed to regulate the timing signals

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

What are some examples of control signals?

A

» Bus request
» Bus grant
» Memory Write/Read

19
Q

How many lines usually does a data bus have?

A

» Usually 8,16,32,64 separate lines.

20
Q

What is a word?

1 Mark

A

» Fixed size group of digits that are divided up internally in memory, which has its own specific address

21
Q

What is the purpose of the ALU?

2 Marks

A

» Performs arithmetic and logical operations on the data
» Acts as a gateway to the processor for easy calculations

22
Q

What are registers?

2 Mark

A

» A discrete small piece of memory used for storing data
» Within the processor

23
Q

What is the purpose of the accumulator?

1 Mark

A

» To store the results of the calculations from ALU

24
Q

What is the purpose of program counter?

1 Mark

A

» Stores the address of the next instruction to be processed

25
What is the purpose of the CIR? | 1 Mark
» Stores the most recently fetched instruction » Which will be decoded and executed
26
What is the purpose of the MAR? | 1 Mark
» Contains the address of the data to be accessed from memory
27
What is the purpose of the MDR? | 3 Marks
» Contains the instruction of the memory location address specified in the MAR » Acts as a buffer to store instructions and data » Copies the data into the CIR
28
What is the 1st part of the fetch phase in the FDE cycle? | 2 Marks
» Address of next instruction is copied from the PC to the MAR » After being sent to MAR , a read signal is sent across the control bus and the contents of the MAR are sent across the address bus
29
What is the 2nd part of fetch phase in the FDE cycle? | 2 Marks
» Instruction held at that address is copied to MDR by the data bus and is stored in MDR » Simulatenously the PC is incremented by 1
30
What is the last phase in the fetch phase of the FDE cycle? | 1 Mark
» Contents of MDR are copied to CIR
31
What is the 1st phase of the decode phase in the FDE cycle? | 1 Mark
» Instruction is split into opcode and operand in the CIR
32
What is the operand? | 1 Mark
» This is the value the instruction uses - it is a value which is manipulated by the CPU
33
What is the Opcode? | 1 Mark
» Is the part of the instruction that specifies which operation the processor should perform
34
What happens if the Operand is an address? | 2 Marks
» Passed to MAR, gets to the memory location of the address in RAM » Reads the value and is sent to the MDR via the data bus, which is copied to the accumulator
35
What is the final phase in the Execute phase in the FDE cycle? | 1 Mark
» Appropriate instruction/opcode is carried out on the operand
36
What does read command do? | 1 Mark
» Load data
37
What does write do? | 1 Mark
» Store data
38
How does the control unit coordinate the activates of the CPU? | 2 Marks
» Controls the execution of instructions - By sending timing signals » Send control signals to enable data to be read from and written to main memory
39
Describe what the process of the control bus is | 1 Mark
» Transmits control signals from the control unit, which contains the timing signals
40
Explain why special registers are needed in addition to primary memory? | 2 Marks - To do with cache
» Allows fast access to data which is needed frequently » Faster than acessing RAM
41
Explain 2 reasons why the value held in the register which holds the address of the next instruction be processed may change? | 4 Marks
» Program counter increments - during FDE cycle » A jump instruction from the CIR/Operand changes to address given
42
Where does the jump instruction send the address? | 3 Marks
» Sends to the PC from the CIR » PC increments by 1 » MDR copies data to CIR
43
Explain the need for the Current Instruction Register (CIR) and describe how the data which it holds is used
» Purpose to hold recently fetched instructions ready to be decoded and executed » Decode phase - CIR splits data into 2 bits » Opcode and Operand » Operand is the actual data - the value that will be manipulated by the CPU » Opcode - It is the instruction which tells the CPU what to do with the instruction » CIR sends jump instructions also