e01.org

Accumulator (computing)

In a computer's central processing unit (CPU), the accumulator is a register in which intermediate arithmetic logic unit results are stored. Without a register like an accumulator, it would be necessary to write the result of each calculation (addition, multiplication, shift, etc.) to cache or main memory, perhaps only to be read right back again for use in the next operation. Accessing memory is slower than accessing a register like an accumulator because the technology used for the large main memory is slower (but cheaper) than that used for a register. Early electronic computer systems were often split into two groups, those with accumulators and those without. Modern computer systems often have multiple general-purpose registers that can operate as accumulators, and the term is no longer as common as it once was. However, to simplify their design, a number of special-purpose processors still use a single accumulator.

In a computer's central processing unit (CPU), the accumulator is a register in which intermediate arithmetic logic unit results are stored. Without a register like an accumulator, it would be necessary to write the result of each calculation (addition, multiplication, shift, etc.) to cache or main memory, perhaps only to be read right back again for use in the next operation. Accessing memory is slower than accessing a register like an accumulator because the technology used for the large main memory is slower (but cheaper) than that used for a register. Early electronic computer systems were often split into two groups, those with accumulators and those without. Modern computer systems often have multiple general-purpose registers that can operate as accumulators, and the term is no longer as common as it once was. However, to simplify their design, a number of special-purpose processors still use a single accumulator. ==Accumulator machines== An accumulator machine, also called a 1-operand machine, or a CPU with accumulator-based architecture, is a kind of CPU where, although it may have several registers, the CPU mostly stores the results of calculations in one special register, typically called "the accumulator". Almost all computers were accumulator machines. Some had two accumulators with distinct names, some had more than two registers called accumulators, referred to by numbers. Then, with the introduction of microprocessors, accumulator architectures were again popular with the MOS 6502 being a notable example. Many 8-bit microcontrollers that are still popular , such as the PICmicro and 8051, are accumulator-based machines. Modern CPUs are typically 2-operand or 3-operand machines. The additional operands specify which one of many general-purpose registers (also called "general-purpose accumulators" or "accumulators" ) are used as the source and destination for calculations. These CPUs are not considered "accumulator machines". The characteristic that distinguishes one register as being the accumulator of a computer architecture is that the accumulator (if the architecture were to have one) would be used as an implicit operand for arithmetic instructions. For instance, a CPU might have an instruction like: ADD memaddress that adds the value read from memory location memaddress to the value in the accumulator, placing the result back in the accumulator. The accumulator is not identified in the instruction by a register number; it is implicit in the instruction and no other register can be specified in the instruction. Some architectures use a particular register as an accumulator in some instructions, but other instructions use register numbers for explicit operand specification.

References

  1. ^ Programmed Data Processor-1 Manual (PDF) , Maynard, Massachusetts : Digital Equipment Corporation , 1961, p. 7: PDP-1 system block diagram, archived (PDF) from the original on 2022-10-09 , retrieved 2014-07-03 Wikipedia revision 1355725447, retrieved 2026-11-19 · 1404342000.0
  2. ^ Irvine, Kip R. (2007). Assembly Language for Intel-Based Computers (5th ed.). Pearson Prentice Hall. pp. 633, 622. ISBN 978-0-13-238310-3 . Wikipedia revision 1355725447, retrieved 2026-11-19 · 1795042800.0
  3. ^ E.g., Accumlator A, Accumlator B Wikipedia revision 1355725447, retrieved 2026-11-19 · 1795042800.0
  4. ^ E.g., Accumulator 1-3 on the IBM 7070, 7072 and 7074 Wikipedia revision 1355725447, retrieved 2026-11-19 · 1795042800.0
  5. ^ "HC16 Overview" . Freescale.com. Archived from the original on 28 September 2007 . Retrieved 2008-09-22 . Wikipedia revision 1355725447, retrieved 2026-11-19 · 1222038000.0
  6. ^ Programmed Data Processor-6 Handbook (PDF) . Digital Equipment Corporation . August 1964. pp. 20, 22. Wikipedia revision 1355725447, retrieved 2026-11-19 · 1795042800.0
  7. ^ Book 1 Programming with the PDP-10 Instruction Set (PDF) . PDP-10 Reference Handbook. Digital Equipment Corporation . 1969. p. 9. Wikipedia revision 1355725447, retrieved 2026-11-19 · 1795042800.0
  8. ^ J. Presper Eckert, "A Survey of Digital Computer Memory Systems", IEEE Annals of the History of Computing, 1988, pp. 15-28. Wikipedia revision 1355725447, retrieved 2026-11-19 · 1795042800.0
  9. ^ "The Feasibility of Ludgate's Analytical Machine" . Wikipedia revision 1355725447, retrieved 2026-11-19 · 1795042800.0
  10. ^ a b Haigh, Thomas; Priestley, Mark; Ropefir, Crispin (2016). ENIAC in Action: Making and Remaking the Modern Computer . MIT Press. ISBN 9780262334419 . Wikipedia revision 1355725447, retrieved 2026-11-19 · 1795042800.0
  11. ^ This article is based on material taken from Accumulator at the Free On-line Dictionary of Computing prior to 1 November 2008 and incorporated under the "relicensing" terms of the GFDL , version 1.3 or later. Wikipedia revision 1355725447, retrieved 2026-11-19 · 1795042800.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Accumulator (computing)". 1779541807. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1355725447

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·