Wednesday, 26 November 2014

What is the central processing unit (CPU) and arithmetic and logic unit (ALU),you have information about it?


A CPU is the electronic brian of the computer it consists of three main components namely,arithmetic and logic unit (ALU) control unit (CU) and main memory unit..now we tell you about the arithmetic and logic unit (ALU),This is the section of the CPU where actual data processing takes place all arithmetic and logical operations are performed in this part of the cpu.arithmetic operations such as add ,subtract multiply and devide are performed in the arithmetic  section of the (ALU) .the logic circuits in the ALU are generally used to compare two numbers by subtracting one number from the over.the resultant sign of the difference tells the processor whether the first number is greater or the second this result of comparison further directs the program to branch accordingly.Apart from the numeric data,alphabetic data also may be compared according to an assigned sequence .in order to perform these arithmetic and logic operations ,ALU as has got  multifunction circuits which can perform these operations,here we shows a block diagram of these circuits .all these  operations are subject to the command received from the control unit.ALU responds to the instructions received by analysing the instructions immediatly .the operands required by the instructions are fetched from the given addresses and are set to the appropriate unit of ALU in this processing . ALU contains special purpose memory locations called registors .these registers are used of storing arithmetic logic  commands and their operands .one such ALU register is called accumulator which is very frequently used.the operations like add subtract multiply,divide and compare can be performed on the contents of accumulator...


No comments:

Post a Comment