stucture and function of the processor Flashcards
1.1.1
what is the control unit ?
the role of the control unit is to co-ordinate all activties in the cpu
what is the program counter?
the role of the program counter is to hold the address of the next instruction to be executed
what is the memory address register?
the role of the MAR is holds the address of the memory location
what is the memory data register ?
the role of the MDR is to store temporary data
what is the current instruction register ?
the role of the CIR is to hold the address of the current instruction being executed
-opcode & operand
what is the accumulator ?
this is where temporary arithmetic and logical data is stored
what is the arithmetic logic unit ?
this is where all arithmetic and logical operations are performed
e.g ADD,SUB,MULT
what is the data bus?
carries binary 1’s and 0’s
what is the address bus ?
carries memory addresses that identify when the data is being read from or writtren to
what is the control bus ?
carries control and command signals to every compartment
Describe the Fetch-Decode-execute cycle?
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
what is an instruction made out of ?
opcode + operand
opcode- what to do
operand = what to do it to
what are common factors that affect the performance of a CPU?
- 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.
what is the pipelining technique ?
Pipelining is the technique of fetching an instruction whilst the prior one is being decoded and the one before that is being executed.
Describe the von-neumann structure ?
- shared memory space for instruction and data
-both stored in the same format
-one instruction at a time