Decimal computer

IBM 650 front panel with bi-quinary coded decimal displays

A decimal computer is a computer that represents and operates on numbers and addresses in decimal format – instead of binary as is common in most modern computers. Some decimal computers had a variable word length, which enabled operations on relatively large numbers.

Decimal computers were common from the early machines through the 1960s and into the 1970s. Using decimal directly saved the need to convert from decimal to binary for input and output and offered a significant speed improvement over binary machines that performed these conversions using subroutines. This allowed otherwise low-end machines to offer practical performance for roles like accounting and bookkeeping, and many low- and mid-range systems of the era were decimal based.

The IBM System/360 line of binary computers, announced in 1964, included instructions that perform decimal arithmetic; other lines of binary computers with decimal arithmetic instructions followed. During the 1970s, microprocessors with instructions supporting decimal arithmetic became common in electronic calculators, cash registers and similar roles, especially in the 8-bit era.

The rapid improvements in general performance of binary machines eroded the value of decimal operations. One of the last major new designs to support it was the Motorola 68000, which shipped in 1980. More recently, IBM added decimal support to their POWER6 designs to allow them to directly support programs written for 1960s platforms like the System/360. With that exception, most modern designs have little or no decimal support.

Early computers

Early computers that were exclusively decimal include the ENIAC, IBM NORC, IBM 650, IBM 1620, IBM 7070, UNIVAC Solid State 80. In these machines, the basic unit of data was the decimal digit, encoded in one of several schemes, including binary-coded decimal (BCD), bi-quinary and two-out-of-five code. Except for the IBM 1620 and 1710, these machines used word addressing. When non-numeric characters were used in these machines, they were encoded as two decimal digits.

Other early computers were character oriented, providing instructions for performing arithmetic on character strings of decimal numerals, using BCD or excess-3 (XS-3)[1] for decimal digits. On these machines, the basic data element was an alphanumeric character, typically encoded in six bits. UNIVAC I and UNIVAC II used word addressing, with 12-character words. IBM examples include IBM 702, IBM 705, the IBM 1400 series,[2] IBM 7010, and the IBM 7080.

Some early binary computers, such as the Honeywell 800[3] and the RCA 601,[4][5] also had decimal arithmetic instructions. Some others had special instructions, such as CVR and CAQ on the IBM 7090, that could be used to speed up decimal addition and the conversion of decimal to binary.[6]

Later computers

The IBM System/360 family of computers, introduced in 1964 to unify IBM's product lines, uses binary addressing, binary integer arithmetic, and binary floating-point; it also includes instructions for packed decimal integer arithmetic.[7]

Some other lines of binary computers added decimal arithmetic instructions. For example, the Honeywell 6000 series, based on the binary GE-600 series, offered, in some models, an Extended Instruction Set that supported packed decimal integer arithmetic and decimal floating-point arithmetic.[8]

IBM's lines of midrange computers, starting with the System/3 in 1969,[9] are binary computers with decimal integer instructions.

The VAX line of 32-bit binary computers from Digital Equipment Corporation, introduced in 1977, also includes packed decimal integer arithmetic instructions.

The Burroughs Medium Systems, beginning with the Burroughs B2500 and B3500 in 1966, provides only decimal arithmetic, including decimal addressing, making it a decimal architecture.

More modern computers

Support for BCD was common in early microprocessors, which were often used in roles like electronic calculators and cash registers where the math was all decimal. Examples of such support can be found in the Intel 8080, MOS 6502, Zilog Z80, Motorola 6800/6809 and most other designs of the era. In these designs, BCD was directly supported in the ALU, allowing it to perform operations on decimal data directly.

Intel BCD opcodes have remained in the x86 family to this day, although they are not supported in long mode. These instructions convert one-byte BCD numbers (packed and unpacked) to binary format before or after arithmetic operations.[10] These operations were not extended to wider formats and hence are now slower than using 32-bit or wider BCD "tricks" to compute in BCD.[11] The x87 FPU has instructions to convert 10-byte (18 decimal digits) packed decimal data, although it then operates on them as floating-point numbers.

The Motorola 68000 series offered both conversion utilities as well as the ability to directly add and subtract in BCD.[12] These instructions were removed when the Coldfire instruction set was defined.

The 2008 revision of the IEEE 754 floating-point standard adds three decimal types with two binary encodings, with 7-, 16-, and 34-digit decimal significands.[13]

One of the few RISC instruction sets to directly support decimal is IBM's Power ISA, which added support for IEEE 754-2008 decimal floating-point starting with Power ISA 2.05. Decimal integer support had been part of their mainframe line, and as part of the broader effort to merge the iSeries and zSeries decimal arithmetic was added to the POWER line so that a single processor could support workloads from these older machines with full performance.[citation needed] The IBM POWER6 processor is the first Power ISA processor that implemented these types, using the densely packed decimal binary encoding rather than BCD.[14] Starting with Power ISA 3.0, decimal integer arithmetic instructions were added.

z/Architecture, the 64-bit version of IBM's mainframe instruction set, added support for the same encodings of IEEE 754 decimal floating-point, starting with the IBM System z9.[14] Starting with the z15 processor, vector instructions to perform decimal integer arithmetic were added.[15]

See also

References

  1. ^ UNIVAC 1005 Extended System Programmers Reference Manual (PDF), Sperry Rand, p. 1–8, FSD-1089r1
  2. ^ IBM 1401 Data Processing System: Reference Manual (PDF). IBM. April 1962. p. 20. A24-1403-5.
  3. ^ "Data Words" (PDF). Honeywell 800 Programmer's Reference Manual (PDF). Minneapolis-Honeywell, DATAmatic Division. 1960. p. 24. It may interpret the 48 bits of a word in groups of 4 for the purpose of binary-coded-decimal operation, in groups of six for the purpose of alphanumeric operation, or as individual units of information for pure binary operation.
  4. ^ "The RCA 603 Computer". RCA 601 Electronic Data Processing System - General Information Manual. RCA EDP. March 1961. p. 1. 96-15-000. Fixed word or half word arithmetic operations may be performed in both (sic) the binary, alphanumeric, and decimal modes.
  5. ^ The RCA 601 System Design. International Workshop on Managing Requirements Knowledge. IEEE Computer Society. December 1960. doi:10.1109/AFIPS.1960.64.
  6. ^ Reference Manual, IBM 7090 Data Processing System (PDF). IBM. March 1962. pp. 5557, 115–119. A22-6528-4.
  7. ^ IBM (1964). IBM System/360 Principles of Operation (PDF). First Edition. A22-6821-0.
  8. ^ Series 6000 Summary Description (PDF). Honeywell. 1971. pp. 6, 31, 34–36.
  9. ^ IBM System/3 Card and Disk System Components Reference Manual (PDF) (Second ed.). IBM. April 1970. GA21-9103-1.
  10. ^ "MASM Programmer's Guide". Microsoft. 1992. Archived from the original on 2007-07-15. Retrieved 2007-07-01.
  11. ^ Jones, Douglas W. (2014-09-10) [1999]. "Arithmetic Tutorials". Iowa City, Iowa, USA: The University of Iowa, Department of Computer Science. Retrieved 2016-01-03.
  12. ^ "Motorola M68000 Family Programmer's Reference Manual" (PDF). Retrieved 2007-07-01.
  13. ^ "DRAFT Standard for Floating Point Arithmetic P754". IEEE. 2006-10-04. Retrieved 2021-08-31.
  14. ^ a b Cowlishaw, Mike F. (2015) [1981,2008]. "General Decimal Arithmetic". IBM. Retrieved 2016-01-02.
  15. ^ IBM z15 (8561) Technical Guide (PDF). IBM. p. 3. SG24-8851-00.

Further reading

Read other articles:

Ereveld Menteng PuloEreveld Menteng PuloDetailsLokasiTebet, JakartaNegaraIndonesiaJenisPemakaman perangPemilikYayasan Pemakaman Perang BelandaLuas29.000 m²Jml. kuburanSekitar 4.300Ereveld Menteng Pulo merupakan sebuah pemakaman bangsa Belanda di Jl. Menteng Pulo RT. 3 RW. 12, Menteng Dalam, Tebet, Jakarta Selatan. Ereveld Menteng Pulo adalah salah satu dari 2 ereveld yang berada di Jakarta selain Ereveld Ancol di Ancol, Pademangan, Jakarta Utara. Permakaman ini dikhususkan bagi perwira milit...

 

منظمة العمل الديمقراطي الشعبي البلد المغرب  تاريخ التأسيس 1 يناير 1983  تعديل مصدري - تعديل   منظمة العمل الديمقراطي الشعبي OADP كان حزب مغربيا يساري التوجه تأسس يوم 1 يناير 1983[1] بعد حصوله على الشرعية القانونية عند عودة قيادته من المنفى. أسسه كل من محمد بن سعيد أيت إي�...

 

Yang di-Pertua Negeri MelakaPetahanaTun Dato Seri UtamaHaji Mohd. Ali Mohd. Rustamsejak 4 Juni 2020GelarTuan Yang Terutama(Yang Mulia)KediamanPejabat TYT Yang di-Pertua Negeri MelakaJalan Seri Negeri, Ayer Keroh, MelakaDitunjuk olehYang di-Pertuan AgongPejabat perdanaLeong Yew KohDibentuk31 Agustus 1957Situs webwww.tytmelaka.gov.my Yang di-Pertua Negeri Melaka (Melayu: Yang di-Pertua Negeri Melaka, juga dikenal sebagai Gubernur Melaka) adalah kepala negara bagian seremonial di Melaka...

追晉陸軍二級上將趙家驤將軍个人资料出生1910年 大清河南省衛輝府汲縣逝世1958年8月23日(1958歲—08—23)(47—48歲) † 中華民國福建省金門縣国籍 中華民國政党 中國國民黨获奖 青天白日勳章(追贈)军事背景效忠 中華民國服役 國民革命軍 中華民國陸軍服役时间1924年-1958年军衔 二級上將 (追晉)部队四十七師指挥東北剿匪總司令部參謀長陸軍�...

 

Human settlement in Suffolk, England Human settlement in EnglandWhatfieldVillage signWhatfieldLocation within SuffolkPopulation335 (2011)[1]OS grid referenceTM025464DistrictBaberghShire countySuffolkRegionEastCountryEnglandSovereign stateUnited KingdomPost townIpswichPostcode districtIP7PoliceSuffolkFireSuffolkAmbulanceEast of England List of places UK England Suffolk 52°04′44″N 0°57′14″E / 52.079°N 0.954°E / 52.079; 0....

 

Theater in Boston, Massachusetts, US Wang TheatreFormer namesMetropolitan Theatre (1925–1962) Music Hall (1962–1980)Address270 Tremont St.LocationBoston, MassachusettsPublic transitTufts Medical Center (Orange Line)Boylston (Green Line)OwnerBoch CenterOperatorBoch CenterMadison Square Garden Company (co-booking)TypeTheatreCapacity3,500Opened1925Websitewww.bochcenter.orgMetropolitan TheatreU.S. National Register of Historic Places Show map of BostonShow map of MassachusettsShow map of the ...

For other airlines, see Great Lakes Airlines (Canada) and Great Lakes Air. Great Lakes Airlines IATA ICAO Callsign ZK GLA LAKES AIR Founded1977Ceased operationsMarch 26, 2018AOC #GLBA031AHubs Denver[1] Los Angeles Phoenix–Sky Harbor[1] Fleet size28Destinations10[1]Parent companyGreat Lakes Aviation, Ltd.Traded asExpert Market: GLUXHeadquartersCheyenne, Wyoming, United StatesFoundersDoug VossIvan Simpson The former logo of the company A Great Lakes Beec...

 

Questa voce o sezione contiene informazioni riguardanti un'infrastruttura in progetto o in realizzazione. Il contenuto potrebbe cambiare radicalmente non appena maggiori informazioni saranno disponibili. Per favore, non aggiungere speculazioni alla voce. Strada statale 675Umbro-LazialeLocalizzazioneStato Italia Regioni Umbria Lazio Province Terni Viterbo DatiClassificazioneStrada statale InizioSS 3 presso San Carlo di Terni FineSS 1 bis presso Monte Romano Lunghezza8...

 

Cet article est une ébauche concernant les récompenses et distinctions et l’Espagne. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Ordre royal et militaire de Saint-Herménégilde Avers Emblème de l'ordre Conditions Décerné par Espagne Type Ordre militaire Éligibilité Personnel militaire et membres de la Guardia Civil seulement Détails Statut Toujours décerné Devise Premio a la constancia militar(R...

Contea di OrangeconteaOrange County LocalizzazioneStato Stati Uniti Stato federato California AmministrazioneCapoluogoSanta Ana Data di istituzione1889 TerritorioCoordinatedel capoluogo33°26′24″N 117°31′12″W / 33.44°N 117.52°W33.44; -117.52 (Contea di Orange)Coordinate: 33°26′24″N 117°31′12″W / 33.44°N 117.52°W33.44; -117.52 (Contea di Orange) Superficie2 455,3 km² Abitanti3 010 232 (2010) Densità1...

 

Le informazioni riportate non sono consigli medici e potrebbero non essere accurate. I contenuti hanno solo fine illustrativo e non sostituiscono il parere medico: leggi le avvertenze. DifteriteAspetto proconsolare o taurino del collo dovuto al marcato edema dei tessuti cervicali in corso di difterite.Specialitàinfettivologia EziologiaCorynebacterium diphtheriae Classificazione e risorse esterne (EN)ICD-9-CM032 ICD-10A36 MeSHD004165 MedlinePlus001608 eMedicine782051, 215100, 1204017 e 96333...

 

1971 single by The KinksGod's ChildrenSingle by The Kinksfrom the album Percy soundtrack B-sideMomentsReleased1971Recorded1970GenreRockLength3:16LabelPye RecordsSongwriter(s)Ray DaviesProducer(s)Ray DaviesThe Kinks singles chronology Apeman (1970) God's Children (1971) 20th Century Man (1971) God's Children is a song written by Ray Davies and performed by The Kinks. Written as part of the soundtrack for the film Percy, it features lyrics protesting the use of science to interfere with the na...

Scottish prelate For other men named Gavin Hamilton, see Gavin Hamilton (disambiguation). Gavin HamiltonArchbishop of St AndrewsArchdioceseSt AndrewsIn office1571–1571PredecessorJohn HamiltonSuccessorJohn DouglasPersonal detailsDied1571Previous post(s)Coadjutor Archbishop of St Andrews (1555–71) Abbot of Kilwinning (1550–71) Gavin Hamilton was an early modern Scottish prelate, coadjutor of the Archdiocese of St. Andrews, and Archbishop of St. Andrews. Gavin was the son of James Hamilton...

 

В Википедии есть статьи о других людях с такой фамилией, см. Максимович; Максимович, Михаил. Михаил Александрович Максимович Дата рождения 3 (15) сентября 1804(1804-09-15) Место рождения хутор Тымковщина, Золотоношский уезд, Полтавская губерния Дата смерти 10 (22) ноября 1873(1873-11-...

 

Rubbish in a farmSpoiled footpath in Brede, East SussexMan scavenging food in LondonLoading garbage in Maida Vale It is estimated that 290 million tonnes of waste was produced in the United Kingdom in 2008 but volumes are declining.[1] In 2012 municipal solid waste generation was almost 30 million tonnes, according to Waste Atlas Platform.[2] The National Waste Strategy is a policy of the government, and in particular the Department for Environment, Food and Rural Affairs (De...

Marginalized castes in India and other South Asian countries For the legal term, see Scheduled Castes and Scheduled Tribes. A group of Dalit women in 2021 Dalit (English: /ˈdælɪt/ from Sanskrit: दलित, romanized: dalita meaning broken/scattered), also some of them previously known as untouchables, is the lowest stratum of the castes in the Indian subcontinent.[1] Dalits were excluded from the fourfold varna of the caste hierarchy and were seen as forming a fifth varna, ...

 

Encrypted information This article is about encrypted information. For an overview of cryptographic technology in general, see Cryptography. The Zimmermann Telegram (as it was sent from Washington to Mexico) encrypted as ciphertext. KGB ciphertext found in a hollow nickel in Brooklyn in 1953 In cryptography, ciphertext or cyphertext is the result of encryption performed on plaintext using an algorithm, called a cipher.[1] Ciphertext is also known as encrypted or encoded information be...

 

Linestrenol Nama sistematis (IUPAC) (8R,9S,10R,13S,14S,17R)-17-etinil-13-metil-2,3,6,7,8,9,10,11,12,14,15,16-dodekahidro-1H-siklopenta[a]fenantren-17-ol Data klinis Nama dagang Exluton, Ministat, dll AHFS/Drugs.com International Drug Names Kat. kehamilan ? Status hukum ? Rute Oral Pengenal Nomor CAS 52-76-6 Y Kode ATC G03AC02 G03DC03;G03AA03 G03AB02 G03FA07 G03FB02 (kombinasi dengan estrogen) PubChem CID 5857 ChemSpider 5648 Y UNII N2Z8ALG4U5 Y KEGG D01580 Y Sinonim Linen...

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (فبراير 2016)   ميّز عن آفاق تونس. تجمع الدراسات والعمل الاشتراكي في تونس وتعرف أكثر بحركة آفاق، هي أبرز حركة يسار�...

 

List of events ← 1539 1538 1537 1536 1535 1540 in Ireland → 1541 1542 1543 1544 1545 Centuries: 14th 15th 16th 17th 18th Decades: 1520s 1530s 1540s 1550s 1560s See also:Other events of 1540 List of years in Ireland Events from the year 1540 in Ireland. Incumbent Lord: Henry VIII Events Anthony St Leger is appointed Lord Deputy of Ireland and tasked with the repression of disorder, beginning the pacification policy of surrender and regrant (which lasts until 1543).[1] Murr...