Designing the ALU of MIPS processor