CPU Components Flashcards
CPU
Processes all data and controls all parts of the computer
Parts of The CPU
Control Unit
Arithmetic Logic Unit
Registers
Control Unit
Control the data flow between CPU and other components
Arithmetic Logic Unit
Arithmetic- addition, subtraction
Logic- Logic
Registers
Small, fast memory cells used to store temporary data inside the CPU
Buses
Parallel wires connecting CPU components
Data Bus
Carries data and instructions between components
Address Buss
Carries information of the location of data
Control Bus
Carries commands to other devices
Instruction Set
Collection of instructions that CPU uses to carry out tasks
Assembly Language
Uses mnemonic to represent instructions.Instructions are divided into opcode and operand
Accumulator
Temporary store of data within the CPU.Any data to be processed or have been processed or the results of ALU calculations.
Memory Data Register (MDR)
Temporarily stores data and instructions either before sent to memory or after being fetched.
Memory Address Register (MAR)
Temporarily stores the addresses either for where data being sent in the memory or where is being fetched from.
Current Instruction Register
Stores the current instruction ready for decoding and executing by the Control Unit.Split into opcode and operand
Program Counter (PC)
Stores the location of the next instruction.
FDE cycle
Basic method used by CPU to carry out a single instruction.
Fetch Stage
- Address from the PC is copied to the MAR
- CU loads the address on the address bus and sends a signal to main memory to read that instruction at that address
- Instructions passed by data bus and copied into MDR
- Instructions in MDR is copied to CIR
- Pc is incremented by 1
Decode Stage
- Instruction in CIR is decoded
- It is split into operand and opcode
Execute Stage
- Carrying out the instruction that has been decoded