1.1.1: Structure and Function of Processor Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

processor

A

“brain of the computer”, executes instructions. allowing programs to run

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

FDE Cycle

A

Fetch

  • address from PC copied to MAR
  • instruction held at address copied to MDR by data bus
  • simultaneously, contents of PC increased by 1
  • value of MDR copied to CIR

Decode

  • contents of CIR split into operand and opcode

Execute

  • decoded instruction is executed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Registers

A

small memory cells that operate at high speed. Temporary storage

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

Program Counter (PC)

A

holds address of next instruction to be executed

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

Accumulator (ACC)

A

stores result from calculations

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

Memory Address Register (MAR)

A

holds address of location that is to be read from/written to

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

Memory Data Register (MDR)

A

temporarily stores data that has been read/data that needs to be written

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

Current Instruction Register (CIR)

A

holds current instruction being executed. Divides up into operand and opcode

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

Arithmetic Logic Unit (ALU)

A

completes all arithmetical (mathematical) and logical (boolean- AND, OR, NOT, XOR) operations

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

Control Unit (CU)

A
  • Directs operations of CPU
  • controls and coordinates activities of CPU
  • manages the flow of data (CPU to other devices)
  • monitors FDE cycles
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Buses

A

set of parallel wires connecting 2 or more components in the CPU

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

Data bus

A

A bi-directional bus for carrying data and instructions between the processor and memory.

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

Address bus

A

transmit memory addresses specifying where data is being sent/retrieved

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

Control Bus

A

This bus carries command and control signals to and from every other component of a computer.

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

Control bus signals….

A
  • Bus request
  • Bus grant
  • Memory write
  • Memory read
  • Interrupt request
  • Clock
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Factors affecting CPU: Clock Speed

A
  • determined by system clock
  • clock generates signals switching between 0 and 1
  • Time taken for 1 clock cycle
16
Q

Factors affecting CPU: Number of Cores

A
  • Core = independent processor able to run its own FDE cycle
  • multiple cores = able to complete more than 1 FDE cycle
  • Dual cores = theoretically complete task 2x faster but not all computer programs can utilise multiple core efficiently
16
Q

Assembly Language

A

Assembly code uses mnemonics to represent instruction, ADD = +

  • Instructions are divided into operand an copcode in CIR
  • Operands holds data/ address of dataof which operation is to be performed
  • Opcode specifies type of instruction to be executed
17
Q

Factors affecting CPU: Amount of cache

A
  • Cache = CPU’s onboard memory
  • instructions fetched from main memory copied to cache –> able to be accessed quickly and unused instructions are replaced
18
Q

Levels of Cache

A

LVL 1: very fast memory cells with small capcity (2-64KB)

LVL 2: Fairly fast, medium sized capacity (256KB - 2MB)

LVL 3: Much larger and slower

19
Q

Von Neumann

A
  • basic components of computer + processor (CU, ALU, registers, memory units)
  • Shared memory + shared data bus is used for instructions + data
  • Built on stored program concept
20
Q

Harvard

A
  • physically separate memories for instructions + data
  • used more commonly in embedded systems
  • useful when memories have different characteristics: instructions = read-only, data = read-write
  • allow you to optimise size of individual memory cells + buses depending on needs
21
Q

Advantages of Von Neumann

A
  • cheaper to develop - CU is easy to design
  • program can be optimised in size
22
Q

Advantages of Harvard

A
  • quicker execution - data + instructions fetched in parallel
  • memories can be different sizes - more efficient use of space
23
Q

Contemporary processing

A
  • uses both VN and H architecture
  • VN = working with data and instructions in main memory
  • H = divide cache into instruction cache + data cache