Jump to content

Accumulator (computing)

From Simple English Wikipedia, the free encyclopedia
Revision as of 15:38, 28 September 2024 by CosmLearner (talk | changes) (CosmLearner moved page Accumulator to Accumulator (computing): Ago accumulator was used as an energy storage device. )
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Accumulators on a tabulating machine circa 1936. Each of the four registers can store a 10-digit decimal number.

The accumulator is the register for storing results of operations inside the CPU. Accumulator's name or representation depend upon CPU architecture and manufacturer, for example in intel x86 architecture accumulator's name is AX in 16bits or EAX in 32bits mode. An accumulator is manipulated by machine code or assembly for example assembly code:

"add ax, 3" add 3 in accumulator register.