2.1 The ALU

The ALU (arithmetic and logic unit) is the core of a processor that performs computations. For the purpose of this module, we can visualize an ALU to be a magical box that has two input and an output. A number of different types of calculations can be selected, such as addition, subtraction and etc.

However, the ALU can only compute, it has no storage ability.