4.28是什么星座| 天喜星是什么意思| 心肝血虚吃什么中成药| 为什么会低血糖| 今年什么时候进伏天| 什么的坐着| 流产后吃什么| 浅色是什么颜色| 灰什么丧什么| 王牌是什么意思| 笑靥是什么意思| 道和集团是干什么的| 白骨精是什么动物| 张飞穿针歇后语下一句是什么| 抵牾是什么意思| 心电轴不偏是什么意思| 什么东东| 牛建读什么| 羊刃格是什么意思| 洋葱为什么会让人流泪| cas是什么意思| 3月4日是什么星座| 什么是规律| 叶酸什么时间吃最好| 乳腺无回声结节是什么意思| 急性前列腺炎吃什么药| 胰岛素抵抗是什么意思| 齁甜是什么意思| IC什么意思| 四月初五是什么星座| 1月15号是什么星座| 意外是什么意思| 退役和退伍有什么区别| 圣贤是什么意思| 头发干燥是什么原因| 呼吸音粗是什么原因| 舌根发黑是什么原因| 丛林法则是什么意思| 抗sm抗体阳性什么意思| 7.6什么星座| 崩溃什么意思| 梦见头发白了是什么意思| 女性胃火旺吃什么药| 长卿是什么意思| 什么洗发水最好| AMY医学上是什么意思| 梦到血是什么意思| 垂涎欲滴意思是什么| 煲什么汤含蛋白质高| 临官是什么意思| 半斤八两什么意思| 大便不成形吃什么药| 兄弟是什么生肖| 女人眉心有痣代表什么| 总蛋白偏高有什么危害| 小鱼际发红预示着什么| 为什么空腹血糖比餐后血糖高| 梦到老公被蛇咬是什么意思| 中国的国花是什么花| 早上起床腰疼是什么原因| 终极是什么| 湿热会引起什么症状| 枯木逢春是什么生肖| 五十而知天命是什么意思| 什么是同性恋| 胎儿永存左上腔静脉是什么意思| 胸骨后是什么位置图| 让心归零是什么意思| 补血吃什么药| 核磁共振是检查什么的| 胃肠感冒什么症状| 跨界歌手是什么意思| 猫驱虫药什么牌子好| 手心经常出汗是什么原因| 肝功能谷丙转氨酶偏高是什么原因| 剁椒鱼头是什么鱼| 查结核做什么检查| 倭瓜是什么瓜| 例假推迟是什么原因| 孕妇梦见别人怀孕是什么意思| 为什么不一样| 丢包是什么意思| 肌醇是什么| 手脚麻木是什么原因引起的| 一直想大便是什么原因| 梦到吃梨是什么意思| 彷徨是什么意思| 舌息心念什么| 什么鱼红烧最好吃| mc是什么| 蛇蛋长什么样子| 钙化点是什么意思| 心脏属于什么系统| 黄痰是什么原因造成的| 咳嗽有痰是什么原因| 抗战纪念日为什么是9月3日| 黄瓜可以和什么一起榨汁| 彘是什么意思| 凝血酶是什么| 看脚趾头挂什么科| 吃靶向药不能吃什么| 落枕挂什么科| 一什么节日| 什么是气质| pp是什么材料| 螺旋杆菌阳性是什么病| 什么人容易得心梗| vca是什么意思| 公知是什么意思| 惯犯是什么意思| 什么地制宜| dennis什么意思| 治脚气用什么药| 龟头炎用什么软膏| 气短咳嗽是什么原因引起的| 夏天肚子疼是什么原因| 迥异是什么意思| 老虔婆是什么意思| 猫怕什么气味| 半边脸疼是什么原因引起的| 吃了榴莲不能吃什么| 松板肉是什么肉| 核桃和什么一起打豆浆| 产检是什么意思| 胆囊壁胆固醇结晶是什么意思| 左眉毛跳是什么预兆| 孕妇梦到老公出轨什么意思| 什么的公鸡| 梭边鱼是什么鱼| 舌炎吃什么药好得快| 北京大栅栏有什么好玩的| 后壁是什么意思| 胸闷挂什么科室| 六月初二是什么星座| sancanal是什么牌子| 什么的小狗| 五险一金有什么用| 切莫是什么意思| 疾苦的疾是什么意思| 宫腔积液和盆腔积液有什么区别| 凌晨4点是什么时辰| 屑是什么意思| 嘘寒问暖是什么意思| 花椒有什么作用| 空气棉是什么面料| 雨水是什么意思| 木丑念什么| 蜂蜜吃有什么好处| 基础代谢是什么意思| 穗字五行属什么| 梅五行属什么| 农历八月初五是什么星座| 手心红是什么原因| 心火旺喝什么茶| 运动后恶心想吐是什么原因| 急性结肠炎什么症状| 畏首畏尾是什么意思| 直肠炎吃什么药效果好| 小麦秸秆是什么材质| 十月一日是什么节| 小鬼是什么意思| 痛风什么原因引起| 12月7号什么星座| 吃什么能提高性功能| 孕酮低是什么原因造成的| utc是什么时间| 三点水一个希读什么| 阴虱有什么症状| 手发抖是什么原因| 梦见爆炸是什么意思| 苏州有什么特产可以带回家| 34岁属什么的生肖| 上火是什么症状| 什么叫牙齿根管治疗| 一个月一个元念什么| 惨烈是什么意思| 东方不败练的什么武功| 比利时说什么语言| 威士忌兑什么饮料好喝| 解脲脲原体阳性吃什么药| 五行属金什么字最好| emoji什么意思| 为什么早上起来恶心想吐| 胰腺上长瘤意味着什么| 夏枯草治什么病| 中央政法委书记什么级别| 什么的星星| 什么是玫瑰痤疮| 低压高吃什么食物好| 广州白云区有什么好玩的地方| wm是什么牌子| 冠带是什么意思| 梦到上坟是什么意思| 低压高吃什么中成药| 胸贴是什么| 牵牛花什么时候开| 什么是命中注定| 肝肾阴虚是什么原因引起的| 开业送什么好| blackpink什么意思| 为什么冰箱冷藏室会结冰| 柴米油盐什么意思| 食人鱼的天敌是什么| 胆囊腺肌症是什么病| 荔枝和什么不能一起吃| 动次打次是什么意思| 猪肉炒什么好吃| 锌是什么颜色| 肾阴虚吃什么食物补| 促销员是做什么的| 跑步机cal是什么意思| 长期喝什么水可以美白| 鸡蛋炒什么好吃| 心肌炎是什么病严重吗| 理数是什么| 猪头肉是什么意思| ppm是什么意思| 今年流行什么发型女| 瑀字五行属什么| 位图是什么意思| 脉跳的快是什么原因| 咳嗽吃什么| 五味子不适合什么人喝| 蒙字五行属什么| 形容高兴的词语有什么| 多梦吃什么药| vave是什么意思| ph值高是什么原因| 梦到车被撞了什么预兆| anna是什么意思| ems什么意思| 肚子不舒服是什么原因| 胎神什么意思| 金刚石是由什么构成的| 槟榔长什么样子| 形近字什么意思| 舞象之年是什么意思| 什么闪烁| 皮肤黑是什么原因| 哮喘是什么病| 除牛反绒是什么意思| 为什么来大姨妈会拉肚子| 鲤鱼旗的含义是什么| 梦见买碗是什么意思| 海水为什么是蓝色的| 米粉是用什么做出来的| 暗戳戳是什么意思| 腿抽筋是什么问题| 俄罗斯什么东西值得买| 当你从我眼前慢慢走过是什么歌| 碘伏和酒精有什么区别| 环孢素是什么药| 肚子疼是什么病| 孕吐吃什么| 治疗勃起困难有什么药| 3.2号是什么星座| 强化灶是什么意思| 预检是什么意思| 眉眼是什么意思| 胆囊结石不宜吃什么| 竹字五行属什么| 大户人家什么意思| 心烦意乱吃什么药| 排卵期出血是什么原因造成的| 百度Jump to content

军运会首批特许商品7月有望面世

From Wikipedia, the free encyclopedia
Walther WSR-16 mechanical calculator. The row of digit-wheels in the carriage (at the front), is the 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.[1]

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.

Basic concept

[edit]

Mathematical operations often take place in a stepwise fashion, using the results from one operation as the input to the next. For instance, a manual calculation of a worker's weekly payroll might look something like:

  1. look up the number of hours worked from the employee's time card
  2. look up the pay rate for that employee from a table
  3. multiply the hours by the pay rate to get their basic weekly pay
  4. multiply their basic pay by a fixed percentage to account for income tax
  5. subtract that number from their basic pay to get their weekly pay after tax
  6. multiply that result by another fixed percentage to account for retirement plans
  7. subtract that number from their basic pay to get their weekly pay after all deductions

A computer program carrying out the same task would follow the same basic sequence of operations, although the values being looked up would all be stored in computer memory. In early computers, the number of hours would likely be held on a punch card and the pay rate in some other form of memory, perhaps a magnetic drum. Once the multiplication is complete, the result needs to be placed somewhere. On a "drum machine" this would likely be back to the drum, an operation that takes considerable time. Then the very next operation has to read that value back in, which introduces another considerable delay.

Accumulators dramatically improve performance in systems like these by providing a scratchpad area where the results of one operation can be fed to the next one for little or no performance penalty. In the example above, the basic weekly pay would be calculated and placed in the accumulator, which could then immediately be used by the income tax calculation. This removes one save and one read operation from the sequence, operations that generally took tens to hundreds of times as long as the multiplication itself.

Accumulator machines

[edit]

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 early[clarification needed] computers were accumulator machines with only the high-performance "supercomputers" having multiple registers. Then as mainframe systems gave way to microcomputers, accumulator architectures were again popular with the MOS 6502 being a notable example. Many 8-bit microcontrollers that are still popular as of 2014, 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"[2]) 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.

History of the computer accumulator

[edit]

Any system that uses a single "memory" to store the result of multiple operations can be considered an accumulator. J. Presper Eckert refers to even the earliest adding machines of Gottfried Leibniz and Blaise Pascal as accumulator-based systems.[3] Percy Ludgate was the first to conceive a multiplier-accumulator (MAC) in his Analytical Machine of 1909.[4]

Historical convention dedicates a register to "the accumulator", an "arithmetic organ" that literally accumulates its number during a sequence of arithmetic operations:

"The first part of our arithmetic organ ... should be a parallel storage organ which can receive a number and add it to the one already in it, which is also able to clear its contents and which can store what it contains. We will call such an organ an Accumulator. It is quite conventional in principle in past and present computing machines of the most varied types, e.g. desk multipliers, standard IBM counters, more modern relay machines, the ENIAC" (Goldstine and von Neumann, 1946; p. 98 in Bell and Newell 1971).

Just a few of the instructions are, for example (with some modern interpretation):

  • Clear accumulator and add number from memory location X
  • Clear accumulator and subtract number from memory location X
  • Add number copied from memory location X to the contents of the accumulator
  • Subtract number copied from memory location X from the contents of the accumulator
  • Clear accumulator and shift contents of register into accumulator

No convention exists regarding the names for operations from registers to accumulator and from accumulator to registers. Tradition (e.g. Donald Knuth's (1973) hypothetical MIX computer), for example, uses two instructions called load accumulator from register/memory (e.g. "LDA r") and store accumulator to register/memory (e.g. "STA r"). Knuth's model has many other instructions as well.

Notable accumulator-based computers

[edit]
Front panel of an IBM 701 computer with lights displaying the accumulator and other registers

The 1945 configuration of ENIAC had 20 accumulators, which could operate in parallel.[5]:?46? Each one could store an eight decimal digit number and add to it (or subtract from it) a number it received.[5]:?33? Most of IBM's early binary "scientific" computers, beginning with the vacuum tube IBM 701 in 1952, used a single 36-bit accumulator, along with a separate multiplier/quotient register to handle operations with longer results. The IBM 650, a decimal machine, had one 10 digit distributor and two ten-digit accumulators; the IBM 7070, a later, transistorized decimal machine had three accumulators. The IBM System/360, and Digital Equipment Corporation's PDP-6, had 16 general-purpose registers, although the PDP-6 and its successor, the PDP-10, call them accumulators.

The 12-bit PDP-8 was one of the first minicomputers to use accumulators, and inspired many later machines.[6] The PDP-8 had but one accumulator. The HP 2100 and Data General Nova had 2 and 4 accumulators. The Nova was created when this follow-on to the PDP-8 was rejected in favor of what would become the PDP-11. The Nova provided four accumulators, AC0-AC3, although AC2 and AC3 could also be used to provide offset addresses, tending towards more generality of usage for the registers. The PDP-11 had 8 general-purpose registers, along the lines of the System/360 and PDP-10; most later CISC and RISC machines provided multiple general-purpose registers.

Early 4-bit and 8-bit microprocessors such as the 4004, 8008 and numerous others, typically had single accumulators. The 8051 microcontroller has two, a primary accumulator and a secondary accumulator, where the second is used by instructions only when multiplying (MUL AB) or dividing (DIV AB); the former splits the 16-bit result between the two 8-bit accumulators, whereas the latter stores the quotient on the primary accumulator A and the remainder in the secondary accumulator B. As a direct descendant of the 8008, the 8080, and the 8086, the modern ubiquitous Intel x86 processors still uses the primary accumulator EAX and the secondary accumulator EDX for multiplication and division of large numbers. For instance, MUL ECX will multiply the 32-bit registers ECX and EAX and split the 64-bit result between EAX and EDX. However, MUL and DIV are special cases; other arithmetic-logical instructions (ADD, SUB, CMP, AND, OR, XOR, TEST) may specify any of the eight registers EAX, ECX, EDX, EBX, ESP, EBP, ESI, EDI as the accumulator (i.e. left operand and destination). This is also supported for multiply if the upper half of the result is not required. x86 is thus a fairly general register architecture, despite being based on an accumulator model.[7] The 64-bit extension of x86, x86-64, has been further generalized to 16 instead of 8 general registers.

References

[edit]
  1. ^ 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.
  2. ^ "HC16 Overview". Freescale.com. Archived from the original on 28 September 2007. Retrieved 2025-08-07.
  3. ^ J. Presper Eckert, "A Survey of Digital Computer Memory Systems", IEEE Annals of the History of Computing, 1988, pp. 15-28.
  4. ^ "The Feasibility of Ludgate's Analytical Machine".
  5. ^ a b Haigh, Thomas; Priestley, Mark; Ropefir, Crispin (2016). ENIAC in Action: Making and Remaking the Modern Computer. MIT Press. ISBN 9780262334419.
  6. ^ 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 2025-08-07, retrieved 2025-08-07
  7. ^ Irvine, Kip R. (2007). Assembly Language for Intel-Based Computers (5th ed.). Pearson Prentice Hall. pp. 633, 622. ISBN 978-0-13-238310-3.
  • Goldstine, Herman H., and von Neumann, John, "Planning and Coding of the Problems for an Electronic Computing Instrument", Rep. 1947, Institute for Advanced Study, Princeton. Reprinted on pp. 92–119 in Bell, C. Gordon and Newell, Allen (1971), Computer Structures: Readings and Examples, McGraw-Hill Book Company, New York. ISBN 0-07-004357-4}. A veritable treasure-trove of detailed descriptions of ancient machines including photos.
身在其位必谋其职是什么意思 双肾囊肿有什么危害 纤维瘤挂什么科 1941属什么生肖 梦特娇属于什么档次
bpm是什么单位 cm医学上是什么意思 胃不好可以吃什么 骨质疏松吃什么药好 腹泻期间宜吃什么食物
20年是什么年 什么是抑郁症 全身spa是什么意思 十一月一日是什么星座 尿蛋白是什么原因造成的
清真不吃什么肉 什么上树全靠一张嘴 属鼠的和什么属相相克 朱元璋什么星座 无缝衔接什么意思
别有什么什么hcv8jop2ns9r.cn 钠尿肽高是什么原因hcv9jop6ns2r.cn 强直性脊柱炎是什么gangsutong.com 早上右眼跳是什么预兆hcv7jop9ns5r.cn 化疗期间不能吃什么hcv8jop4ns6r.cn
生育津贴是什么hcv8jop9ns3r.cn 吃什么容易怀孕hcv8jop5ns0r.cn 你真狗是什么意思hcv8jop7ns1r.cn 秘密是什么意思hcv8jop7ns1r.cn 臆想什么意思hcv8jop8ns3r.cn
猫癣长什么样hcv8jop2ns4r.cn 什么样的人爱长结节hanqikai.com 孙子兵法是什么生肖hcv7jop6ns9r.cn 云朵像什么hcv8jop8ns0r.cn 加百列是什么天使hcv7jop6ns4r.cn
蜻蜓是什么目hcv8jop0ns9r.cn 马齿苋能治什么病hcv8jop6ns8r.cn b类火灾是指什么hcv7jop5ns5r.cn 他喵的什么意思hcv8jop4ns8r.cn 拔完牙吃什么消炎药hcv7jop4ns5r.cn
百度