ArticleslgStudy

computer science

IBM 704

IBM 704 is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand IBM 704 rather than just read about it. In short: The IBM 704 is the model name of a large digital mainframe computer introduced by IBM in 1954. Designed by John Backus and Gene Amdahl, it was the first mass-produced computer with hardware for floating-point arithmetic.

IBM 704 — main illustration
IBM 704 — illustration

Key takeaways

  • IBM 704 belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect IBM 704 to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of IBM 704 from memory before moving on to harder problems.

Reference excerpt

The IBM 704 is the model name of a large digital mainframe computer introduced by IBM in 1954. Designed by John Backus and Gene Amdahl, it was the first mass-produced computer with hardware for floating-point arithmetic. The IBM 704 Manual of operation states:

The IBM 704 Electronic Data-Processing Machine is a large-scale, high-speed electronic calculator controlled by an internally stored program of the single address type.

The 704 at that time was thus regarded as "pretty much the only computer that could handle complex math". The 704 was a significant improvement over the earlier IBM 701 in terms of architecture and implementation. Like the 701, the 704 used vacuum-tube logic circuitry, but increased the instruction size from 18 bits to 36 bits, the same as the memory's word size. Changes from the 701 include the use of magnetic-core memory instead of Williams tubes, floating-point arithmetic instructions, 15-bit addressing and the addition of three index registers. To support these new features, the instructions were expanded to use the full 36-bit word. The new instruction set, which is not compatible with the 701, became the base for the "scientific architecture" subclass of the IBM 700/7000 series computers. The 704 could execute up to 12,000 floating-point additions per second. IBM produced 123 type 704 systems between 1955 and 1960.

Landmarks The programming languages FORTRAN and LISP were first developed for the 704, as was the SAP assembler—Symbolic Assembly Program, later distributed by SHARE as "SHARE Assembly Program". MUSIC, the first computer music program, was developed on the IBM 704 by Max Mathews. Edward O. Thorp, a math instructor at MIT, used the IBM 704 as a research tool to investigate the probabilities of winning while developing his blackjack gaming theory. He used FORTRAN to formulate the equations of his research model. The IBM 704 at the MIT Computation Center was used as the official tracker for the Smithsonian Astrophysical Observatory Operation Moonwatch in the fall of 1957. IBM provided four staff scientists to aid Smithsonian Astrophysical Observatory scientists and mathematicians in the calculation of satellite orbits: Dr. Giampiero Rossoni, Dr. John Greenstadt, Thomas Apple and Richard Hatch. The machine was also an important tool for Frank Rosenblatt; in 1957 he invented the first artificial neural network, the Perceptron, and implemented it on the IBM 704 computer at Cornell Aeronautical Laboratory. The IBM 704 was used for flight dynamics analyses of the NRL's Vanguard rockets. The Los Alamos Scientific Laboratory (LASL) developed an early monitor named SLAM to enable batch processing.

Registers

The IBM 704 had a 38-bit accumulator, a 36-bit multiplier/quotient register, and three 15-bit index registers. The contents of the index registers are subtracted from the base address, so the index registers are also called "decrement registers". All three index registers can participate in an instruction: the 3-bit tag field in the instruction is a bit map specifying which of the registers participate in the operation. However, when more than one index register is selected, then their contents are bit-wise ORed – not added – together before the decrement takes place. This behavior persisted in later scientific-architecture machines (such as the IBM 709 and IBM 7090) until the IBM 7094. The IBM 7094, introduced in 1962, increased the number of index registers to seven and only selected one at a time; the "or" behavior remained available in a compatibility mode of the IBM 7094.

Instruction and data formats There are two instruction formats, referred to as "Type A" and "Type B". Most instructions were of type B. Type A instructions have, in sequence, a 3-bit prefix (instruction code), a 15-bit decrement field, a 3-bit tag field, and a 15-bit address field. There are conditional jump operations based on the values in the index registers specified in the tag field. Some instructions also subtract the decrement field from the contents of the index registers. The implementation requires that the second two bits of the instruction code be non-zero, giving a total of six possible type A instructions. One (STR, instruction code binary 101) was not implemented until the IBM 709. Type B instructions have, in sequence, a 12-bit instruction code (with bits 2 and 3 set to 0 to distinguish them from type A instructions), a 2-bit flag field, four unused bits, a 3-bit tag field, and a 15-bit address field.

Fixed-point numbers are stored in binary sign/magnitude format. Single-precision floating-point numbers have a magnitude sign, an 8-bit excess-128 exponent and a 27-bit fraction (no hidden bit). Alphanumeric characters were usually 6-bit BCD, packed six to a word. The instruction set implicitly subdivides the data format into the same fields as type A instructions: prefix, decrement, tag and address. Instructions exist to modify each of these fields in a data word without changing the remainder of the word, though the Store Tag instruction was not implemented on the IBM 704. The original implementation of Lisp uses the address and decrement fields to store the head and tail of a linked list respectively. The primitive functions car ("contents of the address part of register") and cdr ("contents of the decrement part of register") were named after these fields.

Memory and peripherals

… excerpt ends here. Continue reading the full article.

Illustrations

IBM 704: An IBM 704 computer at NACA in 1957
An IBM 704 computer at NACA in 1957
IBM 704: An IBM 704 computer, with IBM 727 tape drives and IBM 780 CRT display
An IBM 704 computer, with IBM 727 tape drives and IBM 780 CRT display
IBM 704: IBM 704 at the Museo Nazionale Scienza e Tecnologia Leonardo da Vinci, Milan
IBM 704 at the Museo Nazionale Scienza e Tecnologia Leonardo da Vinci, Milan
IBM 704: IBM 704 vacuum-tube circuit module
IBM 704 vacuum-tube circuit module
IBM 704: Loading punch card into the IBM 711 reader
Loading punch card into the IBM 711 reader

Worked examples

Example 1 — a first encounter with IBM 704

Start with the simplest possible case. Write down what IBM 704 claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to IBM 704 before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about IBM 704 ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of IBM 704

In research
IBM 704 appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses IBM 704 in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
IBM 704 is common in secondary-school and first-year university syllabi. It links to neighbouring topics 36-bit computers, Computer-related introductions in 1954, IBM 700/7000 series, so understanding it makes those chapters shorter.
In everyday life
Look for IBM 704 outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “IBM 704” →

How to study IBM 704 in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what IBM 704 means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain IBM 704 out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is IBM 704 in simple terms?

The IBM 704 is the model name of a large digital mainframe computer introduced by IBM in 1954. Designed by John Backus and Gene Amdahl, it was the first mass-produced computer with hardware for floating-point arithmetic.

Why does IBM 704 matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study IBM 704?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on IBM 704.

Tags

  • 36-bit computers
  • Computer-related introductions in 1954
  • IBM 700/7000 series
  • IBM vacuum tube computers

Keep exploring