stucture and function of the processor Flashcards

1.1.1

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

what is the control unit ?

A

the role of the control unit is to co-ordinate all activties in the cpu

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

what is the program counter?

A

the role of the program counter is to hold the address of the next instruction to be executed

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

what is the memory address register?

A

the role of the MAR is holds the address of the memory location

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

what is the memory data register ?

A

the role of the MDR is to store temporary data

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

what is the current instruction register ?

A

the role of the CIR is to hold the address of the current instruction being executed

-opcode & operand

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

what is the accumulator ?

A

this is where temporary arithmetic and logical data is stored

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

what is the arithmetic logic unit ?

A

this is where all arithmetic and logical operations are performed
e.g ADD,SUB,MULT

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

what is the data bus?

A

carries binary 1’s and 0’s

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

what is the address bus ?

A

carries memory addresses that identify when the data is being read from or writtren to

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

what is the control bus ?

A

carries control and command signals to every compartment

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

Describe the Fetch-Decode-execute cycle?

A

Fetch:
- The PC is checked as it holds the address of the next instruction
-the address is stored then copied to the MAR
- The address is then sent along the address bus to main memory

Decode:
- after decoding the instruction you will be able to find out what operation you need to do next.

execute :
- now the address is sent to the MDR
- then stored in the ACC

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

what is an instruction made out of ?

A

opcode + operand

opcode- what to do
operand = what to do it to

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

what are common factors that affect the performance of a CPU?

A
  • Clock speed = this is the amount of cycles per second

-Amount of cache = this is where temporary data is stored

-Number of cores = A cpu has multiple cores , this can speed up the CPU however they all need to communicate with each other therefore it wastes time.

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

what is the pipelining technique ?

A

Pipelining is the technique of fetching an instruction whilst the prior one is being decoded and the one before that is being executed.

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

Describe the von-neumann structure ?

A
  • shared memory space for instruction and data
    -both stored in the same format
    -one instruction at a time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

describe the Harvard structure ?

A

-instructions and data are stored in seperate memory units
-each memory unit has its own bus
-reading and writting can be done at the same time
- used in RISC

17
Q

differences between Von-neuhmann and Harvard structure ?

A

Von-neuhmann:
- used in embedded systems
-data and programs share the same memory
-one bus is used transfer data and instructions

Havard:
- used in portabel devices
-programs and data are held in seperate memory units
- programs tend to be large

18
Q

what are registers ?
and list all 5 memory registers ?

A

registers are small memory cells that operate at high speeds.

-CIR , ACC,MDR,MAR,PC

19
Q

Describe two ways in which the accumulator is used?

A
  • Used to temporarily store mathmatical and logical programs
  • responsible for input and output
20
Q

state how a cpu determines if an interrupt has been raised?

A

The CPU determines if an interrupt has been raised after the program has been executed, after it has been executed, it will then detect an interrupt error.