Processor Structure & Function Flashcards

1
Q

What are the components that make up the CPU?

A
  • Control Unit
  • Busses
  • Arithmetic Logic Unit
  • Dedicated Registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the control unit?

A

The part of the processor that co-ordinates the activity of all other components

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

What does the control unit do?

A
  • Controls and co-ordinates the activities of the CPU.
  • Directing the flow of data between the CPU and other devices
  • Accepts the next instruction, decodes it into several steps, manages its execution and stores the resulting data back in memory or registers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a bus?

A

A series of connectors that transfer signals between internal components.

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

What is the system bus?

A

The system bus consists of three separate busses, carrying control signals, addresses and data.

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

What are the three signal busses?

A
  • Control bus
  • Data Bus
  • Address Bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What bus are control signals sent along?

A

Control bus, between the control unit and the other components of the computer.

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

What are the various control signals?

A
  • Memory Read
  • Memory Write
  • Bus request
  • Bus grant
  • Clock
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does memory read do?

A

Causes data from the addressed location in RAM to be placed on the data bus.

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

What does memory write do?

A

Causes data on the data bus to be written into the addressed location in RAM

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

What does bus request do?

A

Indicates that a device is requesting use of the data bus

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

What does bus grant do?

A

Indicates that the CPU has granted access to the data bus

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

What does clock do?

A

Used to synchronise operations.

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

What does interrupt request do?

A

Indicates that a device is requesting access to the CPU.

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

What is a unique feature of the control bus?

A
  • The control bus is a bi-directional bus.

* Signals can be carried in both directions.

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

What is the purpose of the control bus?

A

Transmit command, timing and specific status information between system components.

17
Q

What is the purpose of the data bus?

A

Provides a bi-directional path for moving data and instructions between system components.

18
Q

What is a word?

A
  • Memory is divided up internally into units known as words.
  • A word is a fixed size group of digits, usually 16,32 or 64 bits, which is handled as a unit by the processor, different processors have different word sizes.
19
Q

What is the purpose of the address bus?

A

Address bus transmits the memory addresses of words that are used as operands in program instructions, so data can be retrieved and sent back to the processor.

20
Q

What is the purpose of the ALU?

A

• Performs arithmetic, logical and shift operations on data.

21
Q

What are some examples of arithmetic operations?

A
  • Add
  • Subtract
  • Multiply
  • Divide
22
Q

What are some examples of logical operations?

A
  • AND
  • OR
  • NOT
  • XOR
23
Q

What are some examples are shift operations?

A

Move bits to the left or right within a register

24
Q

What are registers?

A

Special memory cells that operate at very high speed.

25
Q

What is the register for the ALU?

A

Accumulator

26
Q

Where does the ALU store it’s data?

A

Accumulator

27
Q

What are the the various other dedicated registers?

A
  • Program Counter
  • Current instruction register
  • Memory address register
  • Memory data register
28
Q

What is the purpose of the program counter?

A

Holds the address of the next instruction to be executed. instruction is copied from the current instruction register.

29
Q

What is the purpose of the current instruction register?

A

Holds the current instruction being executed, which is split into opcode and operand.

30
Q

What is the purpose of the memory address register?

A

Holds the address in memory where the processor is required to fetch, or to where data is written.

31
Q

What is the purpose of the memory data register?

A

Used to temporarily store data read from or written to memory, sometimes known as the memory buffer register.

32
Q

What ist he purpose of the accumulator?

A

Hold immediate results of an instruction.

33
Q

What is the purpose of the processor?

A

Carry out instructions from programs stored in memory.

34
Q

What is the fetch decode execute cycle?

A

The sequence of operations involved in executing an instruction.

35
Q

What are the stages of the fetch stage?

A
  • Address of the next instruction is copied from the PC to the MAR.
  • Instruction held at the address is copied to the MDR
  • Contents of the PC are incremented
  • Contents of the MDR are copied to the CIR ( Current Instruction Register ).
36
Q

What are the stages of the decode stage?

A
  • Instruction held in the CIR is decoded.
  • It is then split into operand and opcode to determine the type of instruction it i, additional data if required is fetched from memory.
  • It is then passed onto the accumulator.
  • Instruction now in the CIR, the control unit can work out what needs to be done to carry it out.
37
Q

What are the stages of the execute stage?

A

• Instruction is executed and the result is held in accumulator or stored in memory.

38
Q

What is the opcode?

A

Opcode is used to determine the type of instruction and what hardware to use to execute it, the operation that is to be carried out.

39
Q

What does the operand hold?

A
  • Address of the data to be used with the operation, which is then copied to the MAR.
  • The actual data to be operated on, which will be copied to the MDR.