1.1.1 Structure and Function of the Processor Flashcards

(12 cards)

1
Q

Control Unit Jobs

A

Coordinates activies of the CPU
Manages flow of data between CPU and other devices
Accepts the next instruction
Decodes instructions
Stores the result in the memory

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

Registers

A

CIR: Holds the current instructions being executed, divided up into operand and opcode

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

Factors affecting performance

A

Clock Speed:
() Processor activities behin on a clock pulse
() Starts as clock changes from 0-1
() Clock speed is number of clock cycles per second

Number of cores:
() A core is an independent processor able to execute its on FDE cycle
() Some programs arent optimised for this

Amount of cache
() CPUs onboard memory
() Stores frequently used instructions

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

Buses

A

Set of parallel wires which connect two or more components inside the CPU
System bus: Collection of data bus, control bus, address bus

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

FDE cycle

A

PC: Value -> MAR -> Address bus -> RAM -> Data Bus -> MDR -> CIR: Split into opcode and operand -> CU -> ALU -> ACC

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

ALU Components:

A

Arithmetic Circuit
Logic Circuit
Registers (To store data)
Flags: Overflow, zero

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

What happens in execute based on instruction:

A

INP: ACC stores the value
OUT: Value already in ACC
STA: Reverse: ACC -> MDR -> RAM
ADD / SUB: Result stored in ACC

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

Pipelining

A

Concurrent processing of multiple instructions
One instruction fetched while other decoded and another executed
Output of one is input of next

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

Pipelining Benefit:

A

More instructions executed
Quicker for program to complete

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

Von Neumann vs Havard:

A

Data and instructions stored in the same memory
Single set of buses for instructions and data

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

Harvard Architecture Advantages:

A

Instructions and data can be accessed concurrently
Less chance of data corrupttion
Higher memory bandwidth

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

Contemporary Processing

A

Combo of Havard and Von Neumann architecture.
Harvard is used for cache.

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