ALU preforms the following functions in CPU:
1. the arithmetic logic unit executes arithmetic and logical operations.
2. arithmetic operations include addition (+), subtraction (_), multiplication (*) and division (/).
3. ALU performs logical operations, in which it compares between two members, letters and special characters.
4. ALU compares the following conditions:
. equal to (=) condition in which two values are the same and (#) in which two values are not same.
. less then (<) in which one value is less then the other and (>) in which one value is greater then the other.
CONTROL UNIT:
control unit as the name refers' controls and coordinates among the other components of a CPU . it performs the following functions:
1. sends data and instructions received from input devices to the memory.
2. sends the data and information from memory to the ALU, when required for processing ( to perform operations).
3. sends the processed data or information from ALU, back to the memory.
4. transfers the processed data or information from memory to the output unit from where it is sent to the out devices.
MEMORY UNIT:
memory unit performs the following functions:
1. memory unit is the part of the computer where data and instructions are stored temporarily.
2. control unit of CPU retrieves data and instructions from memory unit and supplies to the ALU for processing.
3. the memory that is directly linked to the CPU is called main memory or primary memory.
No comments
Post a Comment