1.1.1 Structure and function of the processor Flashcards
What does CPU stand for?
Central Processing Unit
What is the CPU?
The main chip on the computer which contains many components that allow it to carry out its function of executing instructions.
What components make up the CPU?
Control Unit (CU).
Arithmetic Logic Unit (ALU).
Registers.
Busses.
What is the role of the Control unit (CU)
Coordinate the activities of the CPU (the Fetch Decode Execute cycle). It accepts instructions and decodes them into steps. It then sends these commands throughout the CPU.
What is the role of the Arithmetic Logic Unit (ALU)?
To perform arithmetic and logical operations on the data. It performs ADD, SUBTRACT, MULTIPLY and DIVIDE. It can perform shift operations as well as Boolean logic - AND, OR, NOT and XOR.
Full Adders live here and results from the ALU are passed to the accumulator.
What are the registers in the CPU?
Program Counter (PC).
Current Instruction Register (CIR).
Memory Address Register (MAR).
Memory Data Register (MDR).
Accumulator(Acc).
What is the role of the Program Counter (PC)?
Holds the address of the next instruction to be executed. It is incremented by one part way through the FDE cycle. Or changed if the instruction is to jump to another location in memory - this is copied from the Current Instruction Register (CIR).