6

Many of the earliest computers stored and manipulated numbers in various decimal codings rather than in pure binary. Examples include the Mark I and ENIAC, as well as some UNIVAC and IBM models.

Could any decimal-based computer handle text? If so, what encoding was used for letters and other characters?


This question asks the opposite: early computers that could only print numbers.

1
  • 3
    We really have to acknowledge the contribution of Ada Lovelace in the nineteenth century. The noted the capability of the proposed Babbage computer as a text handling device. Commented Feb 22, 2021 at 14:44

2 Answers 2

14

Really early computers like the Mark I and ENIAC didn't have enough memory to attempt to handle text; also the use-case was mostly calculations.

A number of decimal IBM computers used characters (with 5 or 6 usable bits) as the basic unit, and decimal digits were just a special usage of those characters:

The IBM 1401 computer, and its compatible successors such as the 1410 and 7010, used seven bits in memory to represent a 6-bit character plus a one-bit word mark. Decimal arithmetic was based on numbers build from those characters.

The IBM 1620 computer organized memory into two-digit cells, with four bits for the digit, and one flag bit. In alphanumeric mode, those 5 bits were used for characters. Wikipedia has a table of the encoding.

The IBM 700/7000 series used a memory consisting of six-bit characters. The zone bits of the characters were used to indicate the sign of a number, and the last digit of a number contained its sign, also indicating the end of the number.

This also explains the funny way EBCDIC encodes letters, because it was influenced by those encodings.

3
  • 2
    I thought EBCDIC was based on punched cards Commented Feb 22, 2021 at 17:23
  • Also the IBM 650.
    – texdr.aft
    Commented Feb 22, 2021 at 18:11
  • 3
    @user253751 - well, punched cards were the ocean in which all of these machines swam ...
    – davidbak
    Commented Feb 22, 2021 at 19:01
1

Singer made a series of retail systems which were taken over by ICL and rebranded.

The ICL System 10 used 6-bit bytes for decimal and character data.

The ICL System 25 used 8-bit bytes, which were used for full ASCII text, and in arithmetic operations as packed decimal (two 4-bit nibbles holding 0x00 to 0x09).

Singer were fairly adventurous. They made sewing machine in Glasgow (the factory was big enough to have its own Metro station). During WW II, they used their engineering skills to make the Norden bombsight (which was partly electronic), and branched out from there to office systems.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .