It doesn't have to. The ALU is given one or two inputs and is told what operation to perform on them. It has no need to figure out whether that operation is arithmetic or logic, since each individual operation will be different anyway.
ALU- Arithmetic Logic Unit CU- Control Unit alu performs the arithmetic and logic operations. cu is the one which controls the entire processing.
The ALU performs arithmetic and logic operations. ALU stands for Arithmetic Logic Unit.
arithmetic logic unit
The arithmetic logic unit or ALU performs arithmetic, logic, and integer operations. ALU was created by mathematician John von Neumann in 1945.
Arithmetic logic unit
The ALU (Arithmetic-Logic Unit) is generally a subsection of the CPU (Central Processing Unit). While the CPU is the master driver of a computer, the ALU is a processing area optimized to handle mathematical computations and logic comparisons. The processor controller passes operation codes and operands to the ALU, which performs the requested operation on the supplied data and passes back the results.
Arithmetic and Logic Unit
In computing, an arithmetic logic unit ( ALU) is a digital circuit that performs arithmetic and logical operations.
That's done by the ALU (arithmetic and logic unit).
There is a special part of the CPU that performs Arithmetic and Logical calculations. Its called Arithmetic Logic Unit ( ALU ).
ALU
ALU