1.1.1 - structure and function of the processor Flashcards

1

1
Q

control unit (CU)

A
  • Controls and coordinates activities of CPU.
  • Directs flow of data between CPU and other devices.
  • Decodes instructions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

bus

A

A set of parallel wires connecting two or more components of a computer.

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

address bus

A
  • Sends address of data from CPU to memory.
  • Unidirectional
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

data bus

A
  • Moves data between main memory and CPU.
  • Bidirectional
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

control bus

A
  • Sends control signals.
  • Bidirectional
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

arithmetic logic unit (ALU)

A

Performs arithmetic and logical operations on data.

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

registers

A

Small, special memory cells that operate at very high speed. Very specific roles.

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

program counter (PC)

A

Holds the address of the next instruction to be executed.

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

current instruction register (CIR)

A

Holds the current instruction being executed.

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

memory address register (MAR)

A

Holds the address of the memory location from which data is to be fetched or written to.

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

memory data/buffer register (MDR)

A

Temporarily stores the data read from or written to memory.

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

Name the 2 parts of an instruction.

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

stages of fetch stage

A

1- Address of next instruction copied from PC to the MAR.
2- Instruction held at that address is copied to MDR.
3- PC is incremented.
4- contents of MDR copied into CIR.

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

stages of decode phase

A
  • Instruction in CIR is decoded.
  • Opcode determines types of instruction and hardware
  • Operand hold address of data or the actual data.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

stages of execute stage

A
  • Appropriate instruction/opcode is carried out on the operand.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Name 3 factors affecting processor performance.

A
  • clock speed
  • number of cores
  • amount and type of cache
17
Q

How does clock speed affect processor performance?

A

The greater
the clock speed, the faster instructions will be executed.

18
Q

How does the number of cores affect processor performance?

A

Each core is theoretically able to process a different instruction at the same time with its own
fetch-execute cycle. However, the software may not always be able to take full advantage of multiple processors.

19
Q

How does amount and type of cache affect processor performance?

A

Since cache is inside the CPU, fetching data from cache is much quicker than fetching it from main memory.

20
Q

pipelining

A

Without pipelining, the steps in the Fetch-Execute cycle take place one after the other. Using pipelining, the computer architecture allows the next instructions to be fetched at the same time as the processor is performing arithmetic or logic operations, holding them in a buffer close to the processor until the instruction can be performed

21
Q

Name the 2 pipelines.

A

1- instruction pipeline
2- arithmetic pipeline

22
Q

instruction pipeline

A

Consists of the stages in which an instruction is moved through the processor, including its being fetched, buffered and then executed.

23
Q

arithmetic pipeline

A

Represents the parts of an arithmetic operation that can be broken down and overlapped as they are performed.

24
Q

Explain why pipelining can improve the performance of the processor. [2]

A
  • reduces latency
  • an instruction can be fetched while another is decoded
  • all parts of the processor can be used at any instance in time.
25
Q

Define the stored program concept.

A

Machine code instructions are fetched and executed serially by a processor that performs arithmetic and logical operations.

26
Q

4 features of Von Neumann architecture

A

1- Data and instructions share the same memory.
2- One bus is used to transfer data and instructions.
3- Programs can be optimised in size.
4- Used in conventional processors in PCs and servers.

27
Q

4 features of Harvard architecture

A

1- Instructions and data are held in separate memories.
2- Parallel data and instruction buses may be used.
3- Programs tend to be large.
4- Used in digital signal processing (DSP) and embedded systems.

28
Q

accumulator

A
  • Temporarily holds the results of calculations by the ALU.
  • I/O in processor used as buffer/ gateway.
29
Q

Explain two reasons why software designed for other companies’ may not work other hardware.

A
  • Different processors with different instruction sets.
  • Different OS that may make different system calls.
30
Q

Name 3 features of Von Neumann architecture. (3)

A
  • data and instructions stored together
  • one instruction at a time
  • uses FDE cycle
31
Q

array processor architecture

A
  • SIMD
  • many ALUs