arithmetic logic unit
the alu completes all of the arithmetical and logical operations.includes all mathematical operations.Logical operations include boolean and logic operations such as And ,or ,not ,and and xor
control unit
The control units is the component of the processor which directs the operation of the cpu.it has the following jobs:
registers
registers are the small memory cells that operate at a very high speed , used to temporarily store data and all arithmetic ,logical and shift operations
program counter (register ) accumulator(register) memory address register
purpose : holds address of the next instruction to be executed
purpose: stores results from calculations
purpose: holds the address of a location that is to be read or written to
memory data register
current instruction register
purpose: temporarily stores data that has been read or data that needs to be written
purpose: holds the current instruction being executed ,divided into operand and opcode
bus
Buses are a set of parallel wires which connect two or more components inside the CPU.
There are three buses in the CPU: data bus, control bus, and address bus.
data bus
This is a bi-directional bus (meaning bits can be carried in both directions). This is used for
transporting data and instructions between components.
address bus
This is the bus used to transmit the memory addresses specifying where data is to be sent to or retrieved from.
control bus
This is a bi-directional bus used to transmit control signals between internal and external
components.
control signals include