C Program Tutorial - ALU
The function of ALU is to perform arithmetic and logical operations such as addition, subtraction, multiplication and division. AND, OR, NOT, NAND , NOR, Exclusive - OR, Exclusive -NOR operations etc.Functions of the arithmetic and logical unit are listed below :-
a. It carries out arithmetic operations i.e. addition, subtraction, multiplication and division and performs certain logical operations i.e. comparing or testing whether two data items are same or not.
b. It selects variables from registers.
c. It returns result to a memory or register.
Comments
Post a Comment