Q4Digital Electronics
Question
2 marks
Write short note on ALU.
Answer
An ALU (Arithmetic Logic Unit) is the computational core of a processor that performs arithmetic and logic operations on binary data.
- Arithmetic: addition, subtraction, increment, decrement, multiplication (in advanced ALUs)
- Logical: AND, OR, XOR, NOT, NAND, NOR
- Shift operations: left shift, right shift, rotate
- Comparison: equal, greater than, less than (sets flags)