Computer Science, asked by YuvrajSingh, 1 year ago

Is ALU an independent unit?

Answers

Answered by Shaizakincsem
9
The ALU is a circuit comprised of rationale gates (themselves made of transistors). The flag is steered to the fitting area of the ALU relying upon the selected operation, with the operation being performed by the rationale gates that make up that segment. Distinctive parts of the ALU circuit incorporate rationale gates for different bitwise operations, adders connected to each other to permit expansion and subtraction (regularly and added works at one piece of the information, interfacing with the following piece utilizing a convey line), bit shifters, possibly committed multipliers, and so forth.

An ALU has its own particular machine language comprised of opcodes that decide every operation. The control unit knows, when it interprets a CPU guideline, how to request that the ALU complete whatever operation is required from it. Note that the ALU can just work on whole numbers. Figuring it out on skimming point numbers with an ALU requires programming schedules to "rethink" the issue into whole number shape; doing this is slow. That is the reason all current CPU's presently have committed floating point units (FPU's), which are like ALU's but for numbers encoded as floating point.

Today, the circumstance hasn't changed theoretically, the ALU is as yet an unmistakable piece of the chip, yet the majority of the CPU's parts are currently on one chip and associated inside.
Answered by mindfulmaisel
7

Yes. ALU is an independent unit.  

  Although it falls under the CPU (Central Processing Unit), ALU (Arithmetic Logic Unit) works independently of the other components of the CPU and its main task is to perform the arithmetical and logical calculations which are passed by the Control Unit (CU) to it.  

  They are actually the logical gates used for certain logical operations like addition and multiplication.

Examples of some logical gates are AND, OR, EXOR, NOT, NAND.

Similar questions