1.1.1 - structure and function of the processor Flashcards

1 (39 cards)

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
Define the stored program concept.
Machine code instructions are fetched and executed serially by a processor that performs arithmetic and logical operations.
26
4 features of Von Neumann architecture
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
4 features of Harvard architecture
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
accumulator
- Temporarily holds the results of calculations by the ALU. - I/O in processor used as buffer/ gateway.
29
Explain two reasons why software designed for other companies’ may not work other hardware.
- Different processors with different instruction sets. - Different OS that may make different system calls.
30
Name 3 features of Von Neumann architecture. (3)
- data and instructions stored together - one instruction at a time - uses FDE cycle - single CU
31
array processor architecture
- SIMD - many ALUs
32
indirect addressing
Operand contains address which points to another address which contains the data.
33
indexed addressing
Operand holds address which is offset using Index Register to find true address.
34
reason for immediate addressing
- simple access to data with no fetch required - limited by data size of the operand
35
reason for direct addressing
- allows data to be fetched from memory - data can potentially be larger in size than that of immediate addressing but address range limited by size of operand
36
reason for indirect addressing
- allows larger range of addresses to be accessed as address is fetched - multiple fetches required
37
reason for indexed addressing
Allows index register to be manipulated to access data stored sequentially like in an array.
38
Explain why adding more RAM will improve the performance of a computer system.
● Allows more active/running/temporary data in RAM ● It reduces the need to use virtual memory ● RAM is faster to access than VM/secondary storage… ● ...because data in VM/SS has to be swapped with data in RAM first ● Use of RAM rather than VM reduces the risk of disk thrashing ● Faster bootup/ shutdown time // reduces load/access time
39
Describe what the BIOS will do to start up the computer.
- Contains the computer's start up instructions. - Loads settings - Runs POST - Loads bootstrap