1.1.1 Structure and function of the processor Flashcards

1
Q

alu

A

arithmetic logic unit => performs any arithmetic/logic operations

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

cu

A

control unit =>
* decodes instructions
* sends control signals to coordinate how date moves through the processor

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

pc

A

program counter =>
* a register that holds the address of the next instruction to be executed
* can be changed by branch instructions
* incremented by 1 every FDE cycle

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

acc

A

accumulator =>
* acts as a buffer
* temp stores result of calculations from the alu

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

mar

A

memory address register =>
* holds the address from the pc
* and data/instructions to be fetched/written to

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

mdr

A

memory data register =>
* temporarily stores data/instructions that have been read/written to
* acts as a buffer

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

cir

A

current instruction register =>
* holds the address of the current instruction being executed
* divided into operand/opcode

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

fetch stage

A
  1. contents of pc => mar
  2. pc incremented by 1
  3. read signal sent onto control bus
  4. instruction ram => mdr via data bus
  5. data copied mdr => cir
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

decode stage

A
  1. cu decodes
  2. split into operand/opcode
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

execute stage

A

opcode carried out on the operand

4 cases:
* getting: ram=>acc
* writing: acc=>ram
* alu related
* pc changed:

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

clock speed

A
  • num of clock cycles per second increased
  • instructions executed per secons increased
  • less time to run
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

num cores

A
  • each core can process a different instruction at the same time w/ its own FDE cycle
  • software may not be able to take advantage of both processors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

cache

A
  • more space for data/inst
  • ram needs to be accessed less frequently
  • accessing is quicker than ram
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

pipelining

A
  1. one instrucution fetched as the other one is being decoded and another is executed
  2. concurrent processing of multiple instructions
  3. inc. speed of execution
  4. reduces latency
  5. all parts of the processor used at the same time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

von neumann

A
  • data/inst => stored in the same memory and in the same format => space efficient
  • so simple circuitry => cheaper
  • has FDE cycle
  • has ALU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

harvard

A
  • seperate memory for data/inst
  • allows for parallel access => data/instructions fetched at the same time