What Is the Function of an Accumulator in a Computer?

In the central processing unit, or CPU, of a computer, the accumulator acts as a special register that stores values and increments of intermediate arithmetic and logic calculations. The accumulator is a temporary memory location that is accessed speedily by the CPU.

The accumulator is the special register of the computer. A register is a special memory location that allows very fast access. Here, the accumulator is a temporary memory location that stores values of all arithmetic and logical calculations that are being carried out by the CPU. The increments of values occur in the accumulator for programming calculations