CARDboard Illustrative Aid to Computation (nonfiction)

From Gnomon Chronicles
Revision as of 06:31, 22 November 2019 by Admin (talk | contribs) (→‎Programming)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
CARDIAC (CARDboard Illustrative Aid to Computation).

CARDIAC (CARDboard Illustrative Aid to Computation) is a learning aid developed by David Hagelbarger and Saul Fingerman for Bell Telephone Laboratories in 1968 to teach high school students how computers work. The kit consists of an instruction manual and a die-cut cardboard "computer".

The computer "operates" by means of pencil and sliding cards. Any arithmetic is done in the head of the person operating the computer. The computer operates in base 10 and has 100 memory cells which can hold signed numbers from 0 to ±999. It has an instruction set of 10 instructions which allows CARDIAC to add, subtract, test, shift, input, output and jump.

Hardware

The "CPU" of the computer consists of 4 slides that move various numbers and arrows to have the flow of the real CPU (the user's brain) move the right way. They have one flag (+/-), affected by the result in the accumulator.

Memory consists of the other half of the cardboard cutout. There are 100 cells. Cell 0 is “ROM”, always containing a numeric "1"; cells 1 to 98 are "RAM"; available for instructions and data; and cell 99 can best be described as "EEPROM".

Memory cells hold signed decimal numbers from 0 to ±999 and are written with a pencil. Cells are erased with an eraser. A “bug” is provided to act as a program counter, and is placed in a hole beside the current memory cell.

Programming

CARDIAC has a 10 instruction machine language. An instruction is three decimal digits (the sign is ignored) in the form OAA. The first digit is the op code (O); the second and third digits are an address (AA). Addressing is one of accumulator to memory absolute, absolute memory to accumulator, input to absolute memory and absolute memory to output.

High level languages have never been developed for CARDIAC because:

  • High level languages would defeat one of the purposes of the device: to introduce concepts of assembly language programming [citation needed].
  • Emulating high level languages with analog paper devices is a non-trivial challenge [original research].

Programs are hand assembled and then are penciled into the appropriate memory cells.

In the News

Fiction cross-reference

Nonfiction cross-reference

External links: