Puneet Varma (Editor)

Autocoder

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

Autocoder was the name given to certain assemblers for a number of IBM computers of the 1950s and 1960s. The first Autocoders appear to have been the earliest assemblers to provide a macro facility.

The term autocoder needs to be distinguished from autocode, a term of the same era which was used in the UK for languages of a higher level. Both terms derive from the phrase automatic coding, which referred generally to programs which eased the burden of producing the numeric machine language codes of programs. ("Autocoding" is seen occasionally, and can refer to any kind of programming system.) In some circles "autocoder" could be used in a rather generic way to refer to what is now called a macro-assembler.

The first Autocoders were released in 1955 for the IBM 702 and in 1956 for the almost compatible IBM 705. They were designed by Roy Goldfinger who earlier had worked on New York University's (NYU) NYAP assembler. These machines were variable word length commercial machines, as were many of the computers for which an Autocoder was released.

Besides the 702 and 705, there eventually also were Autocoders for the IBM 7010, IBM 7030 (Stretch), IBM 7070, IBM 7080, and the IBM 1400 series. Other manufacturers sometimes built competing products, such as NCR's "National's Electronic Autocoder Technique" (NEAT).

The most well known Autocoder is that of the IBM 1401, undoubtedly due in part to the general success of that series of machines. Autocoder was the primary language of this computer, and its macro capabilities supported use of the Input/Output Control System which eased the programming burden. Another assembler, Symbolic Programming System (SPS), was the assembler offered when the IBM 1401 originally was announced as a punched-card-only computer. SPS had mnemonics (often different) but a different input format. It lacked Autocoder's features and was generally used only on machines that lacked tape drives (punched-card only). A copy of the source programs for SPS-1, SPS-2 and Autocoder was donated to the Charles Babbage Institute, University of Minnesota, by Gary Mokotoff, author of SPS and coauthor of Autocoder.

Autocoder as implemented on the IBM 1401

Like all 1401 programs, Autocoder was stored in binary form on punched cards. When the cards were inserted into the card reader, pressing the Run button on the computer (a floor-standing unit; the card reader/punch was a peripheral, and there was neither keyboard or monitor) the contents of the first 80-character card were read into memory locations 0-79, and the instruction at address 0 was executed, thus beginning the bootstrap loader. Autocoder took human-intelligible symbols (such as a period to indicate "stop") and transformed them into the instructions the machine recognized. It supported conditional branching, named subroutines, counting iterations, and what IBM called its Advanced Programming Feature, an optional feature involving three separate bytes between location 80 and 90. (Since memory locations 0-79 were reserved for the card reader, 100-179 for the card punch, which punched a card with the data in these locations when the "punch" command was issued, and 200-279 for the (single) printer, locations 80-99 were orphans and available for other purposes that only needed a few bytes.)

At that time the primary storage media was ½" magnetic tape read and written on drives the size of refrigerators. There were no named files, a concept still in the future. Autocoder did implement a new feature: the byte mark, a single character which served to delimit a block of memory of any size, or a tape file.

The 1401 was available in six memory configurations, with 1400, 2000, 4000, 8000, 12000, or 16000 six-bit characters. The 8000-character model was the minimum needed to run Autocoder; a binary file (on punched cards) could be produced on an 8000-character model which could then be run on a 4000-character machine.

References

Autocoder Wikipedia